Changing file permission

Results 1 to 2 of 2

Thread: Changing file permission

  1. #1
    Join Date
    Dec 1969

    Default Changing file permission

    Is there anyway to change the access permissions for a file using ASP so that an anonymous user cannot download a file, but if they have verified themselves through a login page it will allow them to download it?<BR>Cheers

  2. #2
    Dan Lockwood Guest

    Default RE: Changing file permission

    The short answer to your question is that you can modify object permissions, including files, with ADSI. Two things to be aware of are that the files must be stored on an NTFS volume to utilize file level security; second, you must use NTLM to authenticate users on your site which may require the transmission of passwords in plain text if you are not using SSL. Also, ADSI is a pretty big animal to conquor. I would suggest that you read up on its capabilities before you commit to using it for a solution.<BR><BR>Regards,<BR>Dan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts