Re-sharing a Windows 2012r2 share as read-onlyUseful Command-line Commands on WindowsWhat is the safest way to give anonymous read/write access to Windows file shares?Anonymous file sharing without login window, from Windows 7 server to XP clientsProblems with “Read Only” on a Samba share from Windows machinesWindows clients unable to access Samba share on AD joined Linux box every 7 daysPermanently mount network share without the need for log on? (Windows)Access denied to Samba share from Windows 10Windows tries to access the IPC$ share before the provided oneDisable file locks on a read-only Windows File Sharelinux client can't write to public RedHat share

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

Has there been a multiethnic Star Trek character?

I have a problematic assistant manager, but I can't fire him

Determining fair price for profitable mobile app business

US doctor working in Tripoli wants me to open online account

Fixing obscure 8080 emulator bug?

Non-aqueous eyes?

A strange trigonometric identity

How to safely destroy (a large quantity of) valid checks?

bmatrix: how to align elements' subscripts?

Despite of atoms being mostly vacuum, why are things so rigid around us?

Why does logistic function use e rather than 2?

Extreme flexible working hours: how to get to know people and activities?

Teaching a class likely meant to inflate the GPA of student athletes

Why does the Mishnah use the terms poor person and homeowner when discussing carrying on Shabbat?

Who are the Missing Members of this Noble Family?

Check if three arrays contains the same element

Thread Pool C++ Implementation

Is it legal for a bar bouncer to confiscate a fake ID

Which languages would be most useful in Europe at the end of the 19th century?

Why 1,2 printed by a command in $() is not interpolated?

How is the excise border managed in Ireland?

What is the actual quality of machine translations?

What is the color of artificial intelligence?



Re-sharing a Windows 2012r2 share as read-only


Useful Command-line Commands on WindowsWhat is the safest way to give anonymous read/write access to Windows file shares?Anonymous file sharing without login window, from Windows 7 server to XP clientsProblems with “Read Only” on a Samba share from Windows machinesWindows clients unable to access Samba share on AD joined Linux box every 7 daysPermanently mount network share without the need for log on? (Windows)Access denied to Samba share from Windows 10Windows tries to access the IPC$ share before the provided oneDisable file locks on a read-only Windows File Sharelinux client can't write to public RedHat share






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Looking for a Windows based solution.



Background:



  1. A standalone WS 2012R2 located on NETWORK A is sharing a folder with R/W access through a local user.

  2. A segregated NETWORK B contains user PCs, some joined to NETWORK B’s WS 2019 AD, others configured as standalone.

  3. NETWORKS A and B are connected via a firewall/router appliance.

Requirements:



  1. Make the share on the 2012R2 server in NETWORK A available as READ-ONLY to user PCs on NETWORK B.

  2. Both domain-joined and standalone user PCs on NETWORK B need to have access to the share.

  3. Guarantee that users’ access is READ-ONLY.

  4. Users need to be able to launch applications directly from the READ-ONLY share/mapped drive.

Constraints:



  1. No changes can be made to the Windows 2012R2 server.

  2. Users should not be able to bypass the RO control and map the share as RW.

Discussion:



Basically we need to either re-share the WS 2012R2 share inside NETWORK B but this time as READ-ONLY, or somehow configure user PCs to map the RW share RO. However, since some user PCs are not domain-joined, we can’t simply let them “see” the external share (requirement 3).



Temporary solution:



A Linux machine CIFS-mounts the WS2012R2 share and exports it as RO using samba. This works, but introduces another platform which is not desirable. Also, it is somewhat slower than a true Windows solution, and reparse points get “lost”.



Attempted so far:



  1. SMB sharing the SMB share

  2. mklink /d the share and then exporting the link

  3. SUBST command

  4. Various chains of the above 3

  5. DFS namespaces

  6. FTP sharing the SMB share (does not work well as a true map)

  7. NFS sharing the SMB share (windows keeps dereferencing all the way to the network path, resulting in failure)

  8. Share between a Hyper-V host and a VM

  9. Building SAMBA on Windows. Got quite far, but still unable to complete the build. Even if it builds, not hopeful that it will work correctly on Windows (unsupported)

  10. Proxying the requests via a router. No luck so far.









share|improve this question
























  • I am still trying the DFS namespace option in different configurations, but these all seem to be providing symbolic links to the source drive, thus I am unable to control permissions from Network B.

    – Brent
    May 23 at 22:05

















0















Looking for a Windows based solution.



Background:



  1. A standalone WS 2012R2 located on NETWORK A is sharing a folder with R/W access through a local user.

  2. A segregated NETWORK B contains user PCs, some joined to NETWORK B’s WS 2019 AD, others configured as standalone.

  3. NETWORKS A and B are connected via a firewall/router appliance.

Requirements:



  1. Make the share on the 2012R2 server in NETWORK A available as READ-ONLY to user PCs on NETWORK B.

  2. Both domain-joined and standalone user PCs on NETWORK B need to have access to the share.

  3. Guarantee that users’ access is READ-ONLY.

  4. Users need to be able to launch applications directly from the READ-ONLY share/mapped drive.

Constraints:



  1. No changes can be made to the Windows 2012R2 server.

  2. Users should not be able to bypass the RO control and map the share as RW.

Discussion:



Basically we need to either re-share the WS 2012R2 share inside NETWORK B but this time as READ-ONLY, or somehow configure user PCs to map the RW share RO. However, since some user PCs are not domain-joined, we can’t simply let them “see” the external share (requirement 3).



Temporary solution:



A Linux machine CIFS-mounts the WS2012R2 share and exports it as RO using samba. This works, but introduces another platform which is not desirable. Also, it is somewhat slower than a true Windows solution, and reparse points get “lost”.



Attempted so far:



  1. SMB sharing the SMB share

  2. mklink /d the share and then exporting the link

  3. SUBST command

  4. Various chains of the above 3

  5. DFS namespaces

  6. FTP sharing the SMB share (does not work well as a true map)

  7. NFS sharing the SMB share (windows keeps dereferencing all the way to the network path, resulting in failure)

  8. Share between a Hyper-V host and a VM

  9. Building SAMBA on Windows. Got quite far, but still unable to complete the build. Even if it builds, not hopeful that it will work correctly on Windows (unsupported)

  10. Proxying the requests via a router. No luck so far.









share|improve this question
























  • I am still trying the DFS namespace option in different configurations, but these all seem to be providing symbolic links to the source drive, thus I am unable to control permissions from Network B.

    – Brent
    May 23 at 22:05













0












0








0








Looking for a Windows based solution.



Background:



  1. A standalone WS 2012R2 located on NETWORK A is sharing a folder with R/W access through a local user.

  2. A segregated NETWORK B contains user PCs, some joined to NETWORK B’s WS 2019 AD, others configured as standalone.

  3. NETWORKS A and B are connected via a firewall/router appliance.

Requirements:



  1. Make the share on the 2012R2 server in NETWORK A available as READ-ONLY to user PCs on NETWORK B.

  2. Both domain-joined and standalone user PCs on NETWORK B need to have access to the share.

  3. Guarantee that users’ access is READ-ONLY.

  4. Users need to be able to launch applications directly from the READ-ONLY share/mapped drive.

Constraints:



  1. No changes can be made to the Windows 2012R2 server.

  2. Users should not be able to bypass the RO control and map the share as RW.

Discussion:



Basically we need to either re-share the WS 2012R2 share inside NETWORK B but this time as READ-ONLY, or somehow configure user PCs to map the RW share RO. However, since some user PCs are not domain-joined, we can’t simply let them “see” the external share (requirement 3).



Temporary solution:



A Linux machine CIFS-mounts the WS2012R2 share and exports it as RO using samba. This works, but introduces another platform which is not desirable. Also, it is somewhat slower than a true Windows solution, and reparse points get “lost”.



Attempted so far:



  1. SMB sharing the SMB share

  2. mklink /d the share and then exporting the link

  3. SUBST command

  4. Various chains of the above 3

  5. DFS namespaces

  6. FTP sharing the SMB share (does not work well as a true map)

  7. NFS sharing the SMB share (windows keeps dereferencing all the way to the network path, resulting in failure)

  8. Share between a Hyper-V host and a VM

  9. Building SAMBA on Windows. Got quite far, but still unable to complete the build. Even if it builds, not hopeful that it will work correctly on Windows (unsupported)

  10. Proxying the requests via a router. No luck so far.









share|improve this question
















Looking for a Windows based solution.



Background:



  1. A standalone WS 2012R2 located on NETWORK A is sharing a folder with R/W access through a local user.

  2. A segregated NETWORK B contains user PCs, some joined to NETWORK B’s WS 2019 AD, others configured as standalone.

  3. NETWORKS A and B are connected via a firewall/router appliance.

Requirements:



  1. Make the share on the 2012R2 server in NETWORK A available as READ-ONLY to user PCs on NETWORK B.

  2. Both domain-joined and standalone user PCs on NETWORK B need to have access to the share.

  3. Guarantee that users’ access is READ-ONLY.

  4. Users need to be able to launch applications directly from the READ-ONLY share/mapped drive.

Constraints:



  1. No changes can be made to the Windows 2012R2 server.

  2. Users should not be able to bypass the RO control and map the share as RW.

Discussion:



Basically we need to either re-share the WS 2012R2 share inside NETWORK B but this time as READ-ONLY, or somehow configure user PCs to map the RW share RO. However, since some user PCs are not domain-joined, we can’t simply let them “see” the external share (requirement 3).



Temporary solution:



A Linux machine CIFS-mounts the WS2012R2 share and exports it as RO using samba. This works, but introduces another platform which is not desirable. Also, it is somewhat slower than a true Windows solution, and reparse points get “lost”.



Attempted so far:



  1. SMB sharing the SMB share

  2. mklink /d the share and then exporting the link

  3. SUBST command

  4. Various chains of the above 3

  5. DFS namespaces

  6. FTP sharing the SMB share (does not work well as a true map)

  7. NFS sharing the SMB share (windows keeps dereferencing all the way to the network path, resulting in failure)

  8. Share between a Hyper-V host and a VM

  9. Building SAMBA on Windows. Got quite far, but still unable to complete the build. Even if it builds, not hopeful that it will work correctly on Windows (unsupported)

  10. Proxying the requests via a router. No luck so far.






windows active-directory windows-server-2012-r2 cifs windows-server-2019






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 at 19:52







Brent

















asked May 23 at 17:20









BrentBrent

11




11












  • I am still trying the DFS namespace option in different configurations, but these all seem to be providing symbolic links to the source drive, thus I am unable to control permissions from Network B.

    – Brent
    May 23 at 22:05

















  • I am still trying the DFS namespace option in different configurations, but these all seem to be providing symbolic links to the source drive, thus I am unable to control permissions from Network B.

    – Brent
    May 23 at 22:05
















I am still trying the DFS namespace option in different configurations, but these all seem to be providing symbolic links to the source drive, thus I am unable to control permissions from Network B.

– Brent
May 23 at 22:05





I am still trying the DFS namespace option in different configurations, but these all seem to be providing symbolic links to the source drive, thus I am unable to control permissions from Network B.

– Brent
May 23 at 22:05










2 Answers
2






active

oldest

votes


















0














The logical way to do it is as your Windows 2012R2 as it's in a workgroup, I would create another local user locally onto that server that is RO. but that break that;




Constraints:



No changes can be made to the Windows 2012R2 server.



Another solution is using another server and sync with DFS, but that 2012R2 would need to be domain joined to have it work. You state it break your rule #3, but it's not true, as you can put the security into the share for both users, one read only and the other RW, that part work, and your PC in a workgroups can have a manually mapped drive using the correct user account to map it.






share|improve this answer























  • Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

    – Brent
    May 23 at 19:00


















0














  1. Ensure Network B PCs have no network access to the current 2012 R2 file server (appropriate firewall rule or switch ACL)

  2. Setup a robocopy job from the 2012 R2 file server to a new file server (with the /MIR option)

  3. Create a RO share on the new file server from which a read-only copy of the data can be.





share|improve this answer























  • Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

    – Brent
    May 23 at 22:02











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968603%2fre-sharing-a-windows-2012r2-share-as-read-only%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The logical way to do it is as your Windows 2012R2 as it's in a workgroup, I would create another local user locally onto that server that is RO. but that break that;




Constraints:



No changes can be made to the Windows 2012R2 server.



Another solution is using another server and sync with DFS, but that 2012R2 would need to be domain joined to have it work. You state it break your rule #3, but it's not true, as you can put the security into the share for both users, one read only and the other RW, that part work, and your PC in a workgroups can have a manually mapped drive using the correct user account to map it.






share|improve this answer























  • Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

    – Brent
    May 23 at 19:00















0














The logical way to do it is as your Windows 2012R2 as it's in a workgroup, I would create another local user locally onto that server that is RO. but that break that;




Constraints:



No changes can be made to the Windows 2012R2 server.



Another solution is using another server and sync with DFS, but that 2012R2 would need to be domain joined to have it work. You state it break your rule #3, but it's not true, as you can put the security into the share for both users, one read only and the other RW, that part work, and your PC in a workgroups can have a manually mapped drive using the correct user account to map it.






share|improve this answer























  • Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

    – Brent
    May 23 at 19:00













0












0








0







The logical way to do it is as your Windows 2012R2 as it's in a workgroup, I would create another local user locally onto that server that is RO. but that break that;




Constraints:



No changes can be made to the Windows 2012R2 server.



Another solution is using another server and sync with DFS, but that 2012R2 would need to be domain joined to have it work. You state it break your rule #3, but it's not true, as you can put the security into the share for both users, one read only and the other RW, that part work, and your PC in a workgroups can have a manually mapped drive using the correct user account to map it.






share|improve this answer













The logical way to do it is as your Windows 2012R2 as it's in a workgroup, I would create another local user locally onto that server that is RO. but that break that;




Constraints:



No changes can be made to the Windows 2012R2 server.



Another solution is using another server and sync with DFS, but that 2012R2 would need to be domain joined to have it work. You state it break your rule #3, but it's not true, as you can put the security into the share for both users, one read only and the other RW, that part work, and your PC in a workgroups can have a manually mapped drive using the correct user account to map it.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 23 at 17:54









yagmoth555yagmoth555

12.7k31842




12.7k31842












  • Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

    – Brent
    May 23 at 19:00

















  • Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

    – Brent
    May 23 at 19:00
















Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

– Brent
May 23 at 19:00





Thank you, but we can't create another user because we cannot modify the 2012R2 server. Also, DFS replication requires domain membership and here again we cannot modify the 2012R2.

– Brent
May 23 at 19:00













0














  1. Ensure Network B PCs have no network access to the current 2012 R2 file server (appropriate firewall rule or switch ACL)

  2. Setup a robocopy job from the 2012 R2 file server to a new file server (with the /MIR option)

  3. Create a RO share on the new file server from which a read-only copy of the data can be.





share|improve this answer























  • Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

    – Brent
    May 23 at 22:02















0














  1. Ensure Network B PCs have no network access to the current 2012 R2 file server (appropriate firewall rule or switch ACL)

  2. Setup a robocopy job from the 2012 R2 file server to a new file server (with the /MIR option)

  3. Create a RO share on the new file server from which a read-only copy of the data can be.





share|improve this answer























  • Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

    – Brent
    May 23 at 22:02













0












0








0







  1. Ensure Network B PCs have no network access to the current 2012 R2 file server (appropriate firewall rule or switch ACL)

  2. Setup a robocopy job from the 2012 R2 file server to a new file server (with the /MIR option)

  3. Create a RO share on the new file server from which a read-only copy of the data can be.





share|improve this answer













  1. Ensure Network B PCs have no network access to the current 2012 R2 file server (appropriate firewall rule or switch ACL)

  2. Setup a robocopy job from the 2012 R2 file server to a new file server (with the /MIR option)

  3. Create a RO share on the new file server from which a read-only copy of the data can be.






share|improve this answer












share|improve this answer



share|improve this answer










answered May 23 at 20:55









SemicolonSemicolon

80536




80536












  • Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

    – Brent
    May 23 at 22:02

















  • Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

    – Brent
    May 23 at 22:02
















Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

– Brent
May 23 at 22:02





Thank you, 1. Yes we have the ACL set. 2,3. Because of the volume of files on this drive robocopy is not a viable solution. The drive has 10's of millions of files, and a large number are changes throughout the day by the number of users working. The copy would get stale and not usable too often.

– Brent
May 23 at 22:02

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968603%2fre-sharing-a-windows-2012r2-share-as-read-only%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos