Oiva,

I'll explain what I did and maybe that will help you?

I have two workspaces, State & Download. One is for the state to WFS our
data and the other is for the public. I made a role called "user". I then
made a user named "state" I gave the "state" username the "user" role. I
then went to data security and deleted the default "r" rule. I created two
new rules. One uses the workspace "State" and only allows the role "User" to
access this.  The other uses the workspace "Download" and allows anonymous
to access. This ensures the state layers only show up to the state user
logged in. On the anonymous workspace, I took off the role authenticated so
logged in users don't see it. 

I attached a picture of my data security page. Hope this helps.


<http://osgeo-org.1560.n6.nabble.com/file/n5030302/geoserver.jpg> 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Data-security-and-authentication-tp5030267p5030302.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to