We had a question put through about setting up a files share and allow the external public users access without requiring credentials, although not a good idea due to security as anyone on the internet can potentially access the share and dump viruses and trojans on to it hence opening up an entry point that could easily be exploited, reduced security.
It was a requirement so we did a little research and the following is what we came up with:
- Right click on the folder you want to share, on the Share tab note hte Network Path
- Now go to start and search “Local Security Policy” and press enter
- Expand “Local Policies” and then Click Security Options
- Find the Policy: “Network access: Let Everyone permissions apply to anonymous users” and set the setting to “Enabled” and click OK
- Now find the Policy: “Network access: Shares that can be accessed anonymously” and enter the Network path you noted in step one into the text box and click OK
- Now open Command Prompt, you can search cmd in the Start search and press enter
- Type the following command and press enter: gpupdate /force
- Now you should be able access the share without having the need to enter credentials but if they try accessing other share they will be prompted with the login dialogue box
Again, we cannot emphasise enough how bad of an idea this is, unless you have a genuine requirement for it and reduce the risk as much as possible.
By allowing unrestricted access you are opening an entry point that could easily be used. huge amount of security issues, e.g.