Solved

write a files on a share with different users

Posted on 2008-10-24
7
259 Views
Last Modified: 2010-03-17
i have to write files on a share in a AD with different usres.
i have a list with different useres incl.pw and so on.
i need to write or copy a file a share with the user A.
when i finish with user A
i need to logon the share with user B and write the file ..
so that each file dependts a a different user.

0
Comment
Question by:ebertsys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 22794152
If you are talking about inpersonating other users to crate files this is neither possible or necessary.
Sorry can you explain what you are trying to do - I don't understand.
0
 

Author Comment

by:ebertsys
ID: 22794312
i have to create a testenvirement..to create a working 100 user company.
i' m working with a archiv-solution and i need to write automaticly files to a share ,after 2 days delete them and look after into the archiv are the files there.
one must is that user A can't find files that create user B.
so..that the reason for me.
i also create emails between the 100 user automatlcly and delete the and search them...
0
 
LVL 14

Expert Comment

by:top_rung
ID: 22794442
If I understand you correctly, I think your best bet will be to create multiple shares for each user with the permissions set for them exclusively and then write the files there - kind of like the home directories.  Is your archive solution an application your are writing or some other utility - if something you bought, what is it?

I believe that you will have a hard time saving all the files to one folder and then trying to prevent all the users that have rights to view, list, or read its contents to only see their own files.  I am sure that you can somehow do it with permissions, but how difficult of a task would that be ?  Doesn't seem worth it.  



0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

Author Comment

by:ebertsys
ID: 22794518
the appliance is
http://www.gingcom.de/english/
and i'm a tester of the appliance.

maybe one way is to set the owner of the files after copy or create.
bytheway:the file i create or excel,word docs with a spezial frase +(hash os the frase) jn it
becouse the appliance also index the files.
0
 

Author Comment

by:ebertsys
ID: 22794538
sorry..i should read the text befor sending.

maybe one way is  - to set the owner of the files after copy or create.
bytheway: the file i create  - are excel,word docs  - with a spezial frase +(hash os the frase) in it
because the appliance also index the files.
0
 
LVL 14

Accepted Solution

by:
top_rung earned 500 total points
ID: 22794565
That is the only way you will be able to do it is to set permission on each file.   But why are you doing this?  Only a Backup Operator or a Domain Administrator should have access to these files.  

I guess another thing you can do is create the backups to a hidden area that is only accessible by an administrator, and have a script that copies the files to set areas.

If you can provide a more specific explanation of what and why you need to do this, it might help myself and others in finding you a solution.    
0
 

Author Comment

by:ebertsys
ID: 22794620
i have todo multiple test at once (i try to do so).
The first case is performace...the secon the software

i have to simulate a real combany.
so i have an AD/SQL/2Fileserver/Exchange and som VM-ware clients as stuff.
in the sql i have a table with my 100 user ..these 100 users are creating between 08:00 and 18:00 several files and mails.
and the files have a backup and a archive and a retantion time(beween changes) and
when i do the performance tests ( i write also from each maschine perflogs and import the into sql)..

i can also check our backup and retention times.
so when user A save a document to the fileserver under \share\$userA\doc\$daytime&$userA.doc
    with the sentance "Thanks godit's friday" - hash "from Thanks godit's friday" in it.
    ( i write the frase and hash also into a jobtable)
and send this via email to userB - userB save the attachment under \share\$userB\doc\$daytime&$userB.doc
i must find as (userA or userB) to times the doc and as admin 4 times.
i hope this helps.



   
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question