Share machtigingen in een werkgroep

Pagina: 1
Acties:
  • 260 views sinds 30-01-2008
  • Reageer

  • --Erik--
  • Registratie: Juni 2001
  • Niet online
Situatie:
Netwerk met 3 pc's, allen op een router aangesloten (edimax ding).
Op PC3 staat een map gedeeld.
Ik wil graag dat gebruiker 1 van PC1 deze map in kan en bijv. gebruiker 2 van PC2 niet.

Omdat het een werkgroep betreft en geen domein is lukt het me niet om de ALLEEN de gebruiker van PC1 een permissie te geven om de gedeelde map van PC3 te benaderen. Je moet dus "Iedereen" dat recht geven.

Hoe kan ik ervoor zorgen dat gebruiker 1 van PC1 als enige in de werkgroep de gedeelde map van PC3 kan benaderen?
(Administrator van PC3 mag deze map natuurlijk ook kunnen benaderen..)

Iedere pc draait op Win XP Prof.

Hobbymatige blowerdoortest enthousiast (Retrotec). Interessant voor jouw huis? DM me maar :)


Verwijderd

Hang een wachtwoord aan de share en geef deze alleen aan diegene die erop mag

  • --Erik--
  • Registratie: Juni 2001
  • Niet online
Verwijderd schreef op 09 October 2003 @ 21:16:
Hang een wachtwoord aan de share en geef deze alleen aan diegene die erop mag
Ik heb met een batchbestand een back-up stategie gemaakt, er wordt dan naar de share (die als map network drive als drive z is ingesteld) bestanden geschreven.
Is er geen andere optie behalve het paswoord?

Hoe stel ik overigens dat paswoord in, mocht er geen andere mogelijkheid zijn?

Hobbymatige blowerdoortest enthousiast (Retrotec). Interessant voor jouw huis? DM me maar :)


  • ripexx
  • Registratie: Juli 2002
  • Laatst online: 02-04 14:53

ripexx

bibs

Even wat duidelijk maken, je hebt in NT like systemen (NT, W2k en XP) twee manieren van shares. Eerste methode is om guest access toe te staan maar dan kan eenieder bij de bestanden. Een tweede method is een share te maken en die aan een user te koppelen. Wil je dus dat gebruiker X van PC1 toegang heeft op een map in PC3 zal je gebruiker X ook moeten toevoegen aan PC3 met hetzelfde wachtwoord als op PC1.

Stappen plan:
Gebruiker aanmaken op PC3
Directory aanmaken op PC3 waarin gebruiker X lees en schrijfrechten heeft
Share aanmaken op PC3
Batch bestand maken dat:
a. Share mount/beschikbaar maakt
b. Files copieerd.

Bekijk ook de info eens van net help share
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
The syntax of this command is:


NET SHARE sharename
          sharename=drive:path [/USERS:number | /UNLIMITED]
                               [/REMARK:"text"]
                               [/CACHE:Manual | Automatic | No ]
          sharename [/USERS:number | /UNLIMITED]
                    [/REMARK:"text"]
                    [/CACHE:Manual | Automatic | No ]
          {sharename | devicename | drive:path} /DELETE

NET SHARE makes a server's resources available to network users. When 
used without options, it lists information about all resources being 
shared on the computer. For each resource, Windows reports the
devicename(s) or pathname(s) and a descriptive comment associated with it.

sharename          Is the network name of the shared resource. Type 
                   NET SHARE with a sharename only to display information 
                   about that share. 
drive:path         Specifies the absolute path of the directory to 
                   be shared. 
/USERS:number      Sets the maximum number of users who can 
                   simultaneously access the shared resource. 
/UNLIMITED         Specifies an unlimited number of users can 
                   simultaneously access the shared resource
/REMARK:"text"     Adds a descriptive comment about the resource. 
                   Enclose the text in quotation marks.
devicename         Is one or more printers (LPT1: through LPT9:) 
                   shared by sharename.
/DELETE            Stops sharing the resource.
/CACHE:Automatic   Enables offline client caching with automatic reintegration
/CACHE:Manual      Enables offline client caching with manual reintegration
/CACHE:No          Advises client that offline caching is inappropriate  

NET HELP command | MORE displays Help one screen at a time.

buit is binnen sukkel


  • --Erik--
  • Registratie: Juni 2001
  • Niet online
Bedankt voor je bijdrage ripexx!
MOET ik nu ervoor zorgen dat de wactwoorden van de users op PC1 & PC3 gelijk?
Anders zou ik vanaf PC3 steeds een wachtwoord op moeten geven als ik op PC1 in probeer te loggen toch?

Hobbymatige blowerdoortest enthousiast (Retrotec). Interessant voor jouw huis? DM me maar :)


Verwijderd

Die kans krijg je misschien niet eens. Dus zorg maar gewoon dat ze gelijk zijn, da's vele malen makkelijker ;)

  • --Erik--
  • Registratie: Juni 2001
  • Niet online
Oke ik heb het werken nu :)
Is dit ook meteen de enige oplossing of kan het ook zonder eenzelfde gebruiker aan te moeten maken op de PC waar de gedeelde map opstaat?

Hobbymatige blowerdoortest enthousiast (Retrotec). Interessant voor jouw huis? DM me maar :)


Verwijderd

Er is in Windows een zogenaamde Guest-account die je bepaalde rechten op je shares kunt geven. Probleem is alleen dat je geen controle hebt over wie met deze account inlogt, aangezien hij voor ieder systeem geldt. Iedereen kan dan wat jij hebt toegewezen aan die account.

Als je er zeker van bent dat niemand hier misbruik van kan maken (dus ook een goede beveiliging naar internet toe) kun je deze bijvoorbeeld leesrechten geven. Maar doe dit alleen als je echt zeker bent :)

  • ripexx
  • Registratie: Juli 2002
  • Laatst online: 02-04 14:53

ripexx

bibs

Foutje van mijn kant, had niet net share maar net use moeten zijn :o
The syntax of this command is:


NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]


NET USE connects a computer to a shared resource or disconnects a
computer from a shared resource. When used without options, it lists
the computer's connections.

devicename Assigns a name to connect to the resource or specifies
the device to be disconnected. There are two kinds of
devicenames: disk drives (D: through Z:) and printers
(LPT1: through LPT3:). Type an asterisk instead of a
specific devicename to assign the next available
devicename.
\\computername Is the name of the computer controlling the shared
resource. If the computername contains blank characters,
enclose the double backslash (\\) and the computername
in quotation marks (" "). The computername may be from
1 to 15 characters long.
\sharename Is the network name of the shared resource.
\volume Specifies a NetWare volume on the server. You must have
Client Services for Netware (Windows Workstations)
or Gateway Service for Netware (Windows Server)
installed and running to connect to NetWare servers.
password Is the password needed to access the shared resource.
* Produces a prompt for the password. The password is
not displayed when you type it at the password prompt.
/USER Specifies a different username with which the connection
is made.
domainname Specifies another domain. If domain is omitted,
the current logged on domain is used.
username Specifies the username with which to logon.
/HOME Connects a user to their home directory.
/DELETE Cancels a network connection and removes the connection
from the list of persistent connections.
/PERSISTENT Controls the use of persistent network connections.
The default is the setting used last.
YES Saves connections as they are made, and restores
them at next logon.
NO Does not save the connection being made or subsequent
connections; existing connections will be restored at
next logon. Use the /DELETE switch to remove
persistent connections.
NET HELP command | MORE displays Help one screen at a time.
Al deze info kan je allemaal terug vinden in de manuals van windows. Verder zie je dat je veel meer opties kan meegeven aan een share/network drive. :)

[ Voor 3% gewijzigd door ripexx op 10-10-2003 12:56 ]

buit is binnen sukkel

Pagina: 1