Checking file security (General questions)

by Chris @, (7665 days ago)

If the User.UseNTAuthentication = True, is it possible to add a feature which would check the file permissions? On non-NTFS systems it would always be ok for read/write/delete but on NTFS systems, the upload would get rejected if the user only had read access to the file. This would save us from having to write a security checking routine. Just a thought. [:smile:]

locked

Re: Checking file security

by Jasmine, (7665 days ago) @ Chris

Chris,

actually, I think this already works. When file is opened, wodFTPServer impersonates user when it tries to open, read/write and close file - so if you don't have permissions server should reject you.

Have you tried it?

locked

Re: Checking file security

by Chris @, (7664 days ago) @ Jasmine

Your right, Works great! [:doh:]

locked

Re: Checking file security

by Jasmine, (7664 days ago) @ Chris

You bet it does! [:happy:]

locked