473,396 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

directory.creatediretcory - urgent

When create a new directory on a remote machine it works when
impersonate="true" credential is given . Is there any other method that a
proper
access can be given to create a directory . iT would be helpful if i get the
steps to do it . expecting the reply soon
Feb 3 '06 #1
2 968
Think about it. When your app impersonates a domain user account, that
domain user account must have permission to access the directory. Therefore,
any domain user account that has permission to access that directory can be
used to access the directory.

Now, see if you can follow me here: If any domain user account must have
permission to access the directory, and your application must impersonate a
domain user account with permission to access the directory, your
application's user account could access that directory without impersonating
another domain user account if it had permission to access the directory
itself.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

"anand" <an***@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
When create a new directory on a remote machine it works when
impersonate="true" credential is given . Is there any other method that a
proper
access can be given to create a directory . iT would be helpful if i get
the
steps to do it . expecting the reply soon

Feb 3 '06 #2
can u explan a lillte more in detail or help me with any sample code please

"Kevin Spencer" wrote:
Think about it. When your app impersonates a domain user account, that
domain user account must have permission to access the directory. Therefore,
any domain user account that has permission to access that directory can be
used to access the directory.

Now, see if you can follow me here: If any domain user account must have
permission to access the directory, and your application must impersonate a
domain user account with permission to access the directory, your
application's user account could access that directory without impersonating
another domain user account if it had permission to access the directory
itself.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

"anand" <an***@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
When create a new directory on a remote machine it works when
impersonate="true" credential is given . Is there any other method that a
proper
access can be given to create a directory . iT would be helpful if i get
the
steps to do it . expecting the reply soon


Feb 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris L | last post by:
Hello, I'm hoping to find out if it is possible to connect within an ASP.NET application to Active Directory with the credentials of the person who accessed the ASP.NET application via IIS,...
6
by: varkey.mathew | last post by:
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated...
2
by: MJ | last post by:
Hi, I'm trying to authenticate a user by creating a DirectoryEntry using the contructor with signature Dim objEntry = New DirectoryEntry(path, username, pwd). and then i check for If Not...
0
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
3
by: Tim_Mac | last post by:
Hi, i have this in my web.config: <pages validateRequest="false" > <controls> <add tagPrefix="uc1" src="/Whatever.ascx" tagName="Whatever"/> i have this in Login.aspx: <uc1:Whatever id="Blah"...
4
by: IainM | last post by:
How can I enumerate AD objects (only in a given OU, not sub OUs) using the DirectoryEntry object? Let me know of this is the wrong forum for this question. Thanks, Iain
1
by: TexCube | last post by:
Hello everyone, I have an urgent question. Can data be pulled from an access database table to create a directory that can be printed out and bound together? I need to have each row of a...
3
by: igotyourdotnet | last post by:
I'm creating a new intranet web site in VS 05 .NET 2.0 and I don't want my users to log into the site at all. How can get thier username and show their full name on my web page and how can I give...
1
by: Matt F | last post by:
I need to create a folder in code, and also set sharing to being shared to everyone with full control (or some such variation of security) What I'm doing now is: If Not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.