Block access to images in website
-
Hi, Iam working on a web application MyApp. I have a root folder My App and a sub folder Media inside MyApp with images. The images are uploaded and downloaded through the application. I want to secure this folder Media so that no one can access the images by typing the URL http:// //MYApp/Media/ in the address bar . How can i block the access to images through browser such that the upload and download via application is not affected an no one can access images also? Any kind of help will be appreciated. Thanks Ramya
-
Hi, Iam working on a web application MyApp. I have a root folder My App and a sub folder Media inside MyApp with images. The images are uploaded and downloaded through the application. I want to secure this folder Media so that no one can access the images by typing the URL http:// //MYApp/Media/ in the address bar . How can i block the access to images through browser such that the upload and download via application is not affected an no one can access images also? Any kind of help will be appreciated. Thanks Ramya
-
Hi, Iam working on a web application MyApp. I have a root folder My App and a sub folder Media inside MyApp with images. The images are uploaded and downloaded through the application. I want to secure this folder Media so that no one can access the images by typing the URL http:// //MYApp/Media/ in the address bar . How can i block the access to images through browser such that the upload and download via application is not affected an no one can access images also? Any kind of help will be appreciated. Thanks Ramya
Create a specific user for your application and grant that user read/write privileges. Then disallow similar privileges for the standard IIS account. Then use impersonation to execute the functionality from within your application.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway