Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Thanked 0 Times in 0 Posts

    Read/Write Permission Via Apllication

    I am posting this question on behalf of a friend. Hope I get the problem right. For some reason he needs to allow a few of his users read and write permission to a certain folder on our network eventhough in regular situation they cannot. I.e. what he is trying to do is, when a user A logs on the application (let's call it Application X), he will be authenticated by Application X. Application X will verify that he is who he says he is blablabla and give him a certain clearance. Application X needs to retrieve and/or write files to a folder let call it forbiddenfruit which has the path ABCXYZforbiddenfruit on the network. Under normal situation (i.e. outside of Application X), user A account is not allowed acess to the folder forbiddenfruit. It is only, when he is logged on to Application A that he should be allowed read/write permission to forbiddenfruit. Is this possible be done in VB.Net? How can this be done? I guess botton line is he wants to assign folder permission based on application and bypass username authentication.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Read/Write Permission Via Apllication

    Here's a thought: programs can be run under their own special set of privileges. This is common with backup programs that can grab just about any file. But I don't think it's something you can do internally to your .Net application in code. Instead, Windows would need to already have the user credentials established and an administrator (presumably) would need to log in your application with the additional privileges.

Posting Permissions

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