Seashore
asked on
Security in Windows 2000
One windows NT/2000 user have no acces right of the files in one directory, but I want the program that user execute can access these files, How can I fulfill this?
ASKER
I need code sample.
Seashore,
Do you have a username and password for an account that can access those files?
-- Dan
Do you have a username and password for an account that can access those files?
-- Dan
ASKER
Yes, I Have
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
When I run this code, I got a access violation in module "advapi32.dll".
I use Windows 2000 professional.
I use Windows 2000 professional.
No comment has been added lately, so it's time to clean up this TA. I will
leave a recommendation in the Cleanup topic area that this question is:
Answered: Points to DanRollins: Grade A
Please leave any comments here within the next seven days.
Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (https://www.experts-exchange.com/help.jsp#hi73).
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
-bcl (bcladd)
EE Cleanup Volunteer
leave a recommendation in the Cleanup topic area that this question is:
Answered: Points to DanRollins: Grade A
Please leave any comments here within the next seven days.
Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (https://www.experts-exchange.com/help.jsp#hi73).
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
-bcl (bcladd)
EE Cleanup Volunteer
bcladd,
>>Answered: Points to DanRollins: Grade A
Are you sure that 'Do you have a username and password for an account that can access those files?' answered the Q? Not trying to put down Dan's comment, but please review again :o)
>>Answered: Points to DanRollins: Grade A
Are you sure that 'Do you have a username and password for an account that can access those files?' answered the Q? Not trying to put down Dan's comment, but please review again :o)
Damn, damn, damn.
I read the right post; attributed it to the wrong poster. My apologies to DanRollins and jkr:
The recommended disposition of this question is:
Answered: Points to jkr: Grade A
(I don't actually have to change the answer I accepted (mentally), just read who posted it correctly.)
-bcl
I read the right post; attributed it to the wrong poster. My apologies to DanRollins and jkr:
The recommended disposition of this question is:
Answered: Points to jkr: Grade A
(I don't actually have to change the answer I accepted (mentally), just read who posted it correctly.)
-bcl
dang and that was one of my more brilliant insights. But It's not about the points. I'm just here to help...[jkr make points] :)
Dan - :o)
No way but impersonating an account that is granted access, which means obtaining the credentials - and for that you usually need a username/password. If you do not have the correct permissions to access a file, there usually is something else going wrong..