Portected file from web server

ym21

Newcomer
Joined
May 19, 2005
Messages
10
hi all,

I have to protect some files from web server. It means that only user login to the system then only can download the file and is not just typing the url like
http://localhost/abc/filename.

Please advice and help.

Thanks in advacnce
 
If you are using windows integrated security and the IIS folder is on a NTFS drive you could assign permissions to the files themselves directly (or even better put them in a sub-folder and secure that).

Also under .Net you can configure access rules via the web.config to only allow access to certain files or areas to specific users.

If you search the forums you should find some samples or failing that just ask again for more specifics.
 
Back
Top