Checking file security - WeOnlyDo Discussion board

Checking file security (General questions)

by Chris, Monday, June 21, 2004, 13:07 (7246 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:]

Re: Checking file security

by wodSupport, Monday, June 21, 2004, 15:25 (7246 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?

Re: Checking file security

by Chris, Tuesday, June 22, 2004, 11:24 (7245 days ago) @ wodSupport

Your right, Works great! [:doh:]

Re: Checking file security

by wodSupport, Tuesday, June 22, 2004, 18:33 (7245 days ago) @ Chris

You bet it does! [:happy:]