How can I validate telerik radupload for mimeTypes -> mean Prevent Change Extension by users!
in both Client and Server sides!
my radupload is like this :
<telerik:RadUpload ID="RadUpload" runat="server" EnableEmbeddedSkins="False" Skin="BlackByMe" AllowedFileExtensions=".txt" AllowedMimeTypes="text/plain"
ControlObjectsVisibility="ClearButtons" Width="325px">
</telerik:RadUpload>
as you can see the AllowedFileExtensions
is txt.
But, how can I prevent someone from changing a zip file's extension to txt and upload it.
There are many methods out there for Telerik RadUpload Validation Such As FileExtension-FileSize-Empty RadUpload, but what about validating the real MiMeType?
thanks in advance