To integrate Visual Guard in your sharepoint web site you have to:
Add the assemblies of Visual Guard as references of your
Sharepoint web site.
Modify the "web.config" file of Sharepoint your
web site to
integrate the Visual Guard module.
Create a Visual Guard repository and declare your application by using the
Visual Guard console. This repository will contain all security items (users,
roles, permissions ...) of your application.
Generate the Visual Guard configuration
files by using the Visual Guard console. These configuration files will be
needed to connect your application to the repository.
Grant read/write permissions to the repository.
Modify the authentication type in Centrale Sharepoint
Administration Console
Open the Sharepoint administration console,
In Application Management,
Under "Application Security", click on
"Authentication Providers" as shown here:
Under the Membership Provider Name (which should
say "Default"), click the "Default" word as shown below:
When prompted to Edit Authentication, Select
"Form" for the authentication type, type in
"VGMemberShipProvider" for the membership provider name and
"VGRoleProvider" for the role manager name. The following image
shows how you'd input these changes:
Click on "Save".
Integrate Visual Guard in the adminstration console of Sharepoint
Modify the web.config file of the Central Sharepoint
Administration Console
Open the config file :
"C:\inetpub\wwwroot\wss\VirtualDirectories\XX\ web.config"
In the section "<system.web>"
add instructions bellow
In order to use Visual Guard, you must add references to Visual Guard assemblies:
Copy Visual Guard assemblies in the folder :
"C:\inetpub\wwwroot\wss\VirtualDirectories\XX\bin "
select the 3 assemblies:
Novalys.VisualGuard.Security,
Novalys.VisualGuard.Security.WebFrom,
Novalys.VisualGuard.Security.<RepositoryType> (File, SQLServer or Oracle).
Description of Visual Guard assemblies:
Novalys.VisualGuard.Security contains the main Visual Guard classes.
Novalys.VisualGuard.Security.Files contains the classes needed to access
to a file based repository.
Novalys.VisualGuard.Security.SQLServer contains the classes
needed to access to a repository stored in a Microsoft SQLServer database
(SQLServer 2000 or higher). Available only in
Visual Guard Enterprise Edition
Novalys.VisualGuard.Security.WebForm contains the classes
needed to ASP.Net application. You must reference this assembly in ASP.Net
WebSite or ASP.Net WebService project.
Give authorisation to the role "Administrator"
this step is use to give authorisation to the administrator to acces
to "Operations" and "Application management" in the administration
console of Sharepoint.
In order to use Visual Guard, you must add references to Visual Guard assemblies:
Copy Visual Guard assemblies in the folder :
"C:\inetpub\wwwroot\wss\VirtualDirectories\XX\bin "
select the 3 assemblies:
Novalys.VisualGuard.Security,
Novalys.VisualGuard.Security.WebFrom,
Novalys.VisualGuard.Security.<RepositoryType> (File, SQLServer or Oracle).
Description of Visual Guard assemblies:
Novalys.VisualGuard.Security contains the main Visual Guard classes.
Novalys.VisualGuard.Security.Files contains the classes needed to access
to a file based repository.
Novalys.VisualGuard.Security.SQLServer contains the classes
needed to access to a repository stored in a Microsoft SQLServer database
(SQLServer 2000 or higher). Available only in
Visual Guard Enterprise Edition
Novalys.VisualGuard.Security.WebForm contains the classes
needed to ASP.Net application. You must reference this assembly in ASP.Net
WebSite or ASP.Net WebService project.
Configure Visual Guard
Declaration of Sharepoint applications in Visual Guard
SharePoint
Administrattion Console
SharePoint Web site
Application Type
ASP.Net Web
Site or Service (.Net 2.0 or Higher)
Runtime integration
The visual
Guard runtime is already integrated in the application
Application Path
C:\inetpub\wwwroot\wss\VirtualDirectories\31670
C:\inetpub\wwwroot\wss\VirtualDirectories\80
Advanced Option
Select options you want
Create "Administrator" Role
Select the application in the Visuyal Guard administration
console,
Create the role "Administrator"
Grant this role to the administraor user.
Create permissions
Sample: when you suppress an application in sharepoint you can
authorise to suppress the content database too. In our sample we want to
suppress this option to the user with the role "Application
administrator".
Create the role "Application administor" in Visual Guard in
application "Sharepoint administration console",
Add this role in the file: C:\Program
Files\Common Files\microsoft shared\Web Server
Extensions\12\TEMPLATE\ADMIN\web.config
In visual Guard console in the property "Other assemblies" add
the assembly: C:\Program Files\Common
Files\microsoft shared\Web Server
Extensions\12\CONFIG\ADMINBIN\Microsoft.SharePoint.ApplicationPages.Administration.dll.
This assembly is used to securise the aspx pages of adminstration
console of Sharepoint.
Create a permission,
Create a property action,
Select the page "Microsoft.SharePoint.ApplicationPages
/ DeleteWebApplicationPage ",