Back to Top
The nuts and bolts for
Creative web development

DMXzone Security Provider ASP

“Define and connect your security provider”

DMXzone Security Provider allows you to apply advanced security restrictions to your website or web app. Secure the access to your Database Sources and Database Actions build with DMXzone Database Connector and Database Updater fully! Decide who has access to what resources on your web site or app. Choose from single static logins to validate users from an existing database, having different access levels and rights. Use your own login forms or the supplied Bootstrap Modal Login form for maximum effect! Show or hide regions on your page depending on the logged in user.  The Security Provider extensions is another great add-on for Ajax based web sites or apps built with HTML5 Data Bindings!

Note: In order to use the database security provider you need to have DMXzone Database Connector ASP installed in Dreamweaver!

Features

Define Your Site Security with the Security Provider Builder 

Choose the type of Security Provider to use for you site. Choose between single user, users list or dynamically retrieved from a database source. All powerful security enforcements are easily achieved with the Security Provider Builder.

Single User

The most simple way to secure your site and resources is to apply a single user login security for your website. Then, you have just one username and password for all your security needs.

  • Secret Key - Enter a secret key, which will be used for your cookie encryption. This can be any random string.


  • Support for PHP and ASP server types - Choose the appropriate server type that your site is running on.


  • Login and password - Enter the credentials for this user that will be used for login.


Users List

You can create a whole users list with usernames and password where you can add permissions for each user individually.  

  • Secret Key - Enter a secret key, which will be used for your cookie encryption. This can be any random string.


  • Support for PHP and ASP server types - Choose the appropriate server type that your site is running on.


  • Add/remove user, delete all users and rearrange - You can add as many users as you wish and also remove any of it at a later point. Also, you can delete all at once or rearrange their places in the list.


  • Set permissions - Set special access permissions for your users that will enable them to view, get, edit, put, or delete files, and which users can look inside or make changes to the contents of folders.


  • Grant permissions - You can grant permissions to anyone on your users list or remove them at any time.


Security Provider Enforcer

You can restrict the access to any page and do an automatic redirect to a login page or access denied page.

Database

Thank to the great integration with DMXzone Database Connector PHP/ASP you can retrieve the users list fully dynamically from your database, define permissions and add conditions per permission that define when the permission is valid.

  • Secret Key - Enter a secret key, which will be used for your cookie encryption. This can be any random string.


  • Support for standard PHP and ASP server types database - If you have installed both the DMXzone Database Connector PHP and ASP in your HTML5 Data Bindings you can choose between PHP and ASP server technology otherwise the field will only display the installed one.


  • Select the database users source - In order to retrieve your users list dynamically you need to have the DMXzone Database Connector PHP/ASP extension installed. Once you choose the already established connection to your data source, you can select the database tables, and columns that contain identity and users' credentials details.


  • Manage connections - The Security Provider Builder allows you to create and manage connections to servers with the DMXzone Database Connection wizard dialog.


  • Define permissions dynamically - Name your permissions and choose the corresponding table and ID from your data source thanks to the great integration with DMXzone Database Connector PHP/ASP.


  • Add permission conditions - Add conditions per permission that define when the permission is valid.


Security Cookie Options

When you allow the user to have a "remember me" option in the login form, a secure cookie is stored in their browser to help identify the user later on again. With the Security Cookie Options you can choose how long should the cookie stay valid and when it exactly applies.

  • Add domain - Enter optional domain name to bind the cookie to. If it's not specified then the current domain will be used.


  • Specify the cookie path - Enter the path for the cookie. If not specified the root path is default.


  • Expiration time - By default the cookies expire in 30 days but you can enter your own expiration point in order to keep them for longer or shorter day period. 


Protect Your Database Sources with Database Actions

When you want to protect the Database Sources, defined with the DMXzone Database Connector PHP/ASP and/or Database Actions, defined by the DMXzone Database Updater PHP/ASP, you can choose the appropriate restrictions with the new Security options.

DMXzone Database Connector PHP/ASP

Restrict and allow users with certain permissions to view the database source

  • Applying security in DMXzone Database Connector PHP/ASP - Secure certain database source by managing your security with the DMXzone Security Provider. 
  • Restrict access with the Security Provider - Restrict the access to the chosen database source by selecting the required permissions that you already defined in the Security Provider Builder.


  • Require permissions - Allow access to the selected database source only when the user has the specified permission.


DMXzone Database Updater PHP/ASP

Restrict and allow users with certain permissions to insert, update and delete the database source

  • Securing database updating actions - Manage your database updating actions security with the DMXzone Security Provider
  • Restrict access with the Security Provider - Restrict the access to certain database updating actions by selecting the required permissions that you already defined in the Security Provider Builder.


  • Apply require permissions - Grant access to the selected database updating actions by choosing the required permission from the dropdown list.

DMXzone Security Provider Executor

Add a Page Security Provider Executor for each page you want to use security on. Choose methods of logging in.

Bootstrap Modal Dialog

  • Enable a bootstrap login  - Thanks to the great DMXzone Bootstrap integration in Dreamweaver you can enable a Bootstrap modal dialog.


  • Customize the dialog - You can add a dialog title, username, password, remember me, login and close buttons and also invalid login message help texts in any language you wish to suit your website.
 

Custom Login Form

  • Custom login form - If you want to use a custom login form, you can easily create it in Dreamweaver

  • Customize your login options -  Choose the corresponding form for the login submission and fields from the drop down menus.

Security Provider Behaviors

React on various events on your page, like when user is not logged in yet, call a login box or a logout method.



The following events are available:
  • When user is validated - This event is fired when the user is validated for this page.
  • When the user can not be validated - This event is fired when the user can not be validated for this page.
  • When the user logged in successfully - This event is fired when the user is successfully logged in.
  • When the user login fails - This event is fired when the user login fails.
  • When the user logout - This event is fired when the user logout.
  • Before the Modal Login Dialog is shown - This event is fired before the modal login dialog is shown.
  • When the Modal Login Dialog is shown - This event is fired when the modal login dialog is shown.
  • Before the Modal Login Dialog is hidden - This event is fired before the modal login dialog is hidden.
  • After the Modal Login Dialog is hidden - This event is fired after the modal login dialog is hidden
  • When the user is unauthorized or not logged in (The same event is available in Data Fetching Options and also in Database Action executor options) - This event is fired when the current user is unauthorized or not logged in. You can show an error message or force a login box.
  • When the user has no permissions (The same event is available in Data Fetching Options and also in Database Action executor options) - The event is fired when the current user has not enough permissions. You can show an error message that the user has insufficient permissions.

Control DMXzone Security Provider Executor

Using the control DMXzone Security Provider Executor, you can choose to show the modal login dialog if the user is not logged in or to logout if the user is already logged in.

Data Bindings Integration

Display conditional regions on your page depending on the currently logged in user.

  • Bindings attribute - data.hide to hide regions when data is available. Works opposite of data.show which shows the HTML region only when data is available.

Showcases


  • CMS Admin Login Showcase

    For this showcase we used HTML5 Data Bindings and DMXzone Security Provider Enforcer functionality to create a secured CMS dashboard that requires login in order to be accessed. If the user is not ...

  • Responsive Online Store Showcase

    For this showcase we used HTML5 Data Bindings and DMXzone Database Connector to connect to our database in order to retrieve the products and HTML5 Data Bindings SEO for the content to be searchable ...

  • CMS Administrator Showcase

    For this showcase we have 2 database sources (orders and users) that we secured with the DMXzone Security Provider and require login to be viewed. On page load all you see is a message that you need ...

Videos


Requirements

Type: Behavior
License: External link
Product: Dreamweaver CS5/CS5.5 and CS6, Dreamweaver CC
Server Model: ASP VBScript, ASP JScript
Database: Access, SQL Server, MySQL
Used Technologies: jQuery, Ajax
Screen Shot: External link
Tags: security, provider, ASP, database


This Extension Requires:


HTML5 Data Bindings

Connect to your data

So you want to build dynamic web apps and interactive pages? Empower solutions like single page apps and Ajax driven websites? This is all possible with the new HTML5 Data Bindings Dreamweaver extension. The extension is powered by a stunning jQuery based template engine that helps you populate your data super-fast on the page. Your data is represented fully visual in a tree so you can bind it directly on your page in Dreamweaver design mode. Also, you can add smart repeat regions, detail ...

Read More

History

Version 1.1.0

  • New Security Provider Enforcer - Now you can restrict the access to any page and do an automatic redirect to a login page or access denied page.
  • Automatically adds HTML5 Data Bindings when DMXzone Security Provider Executor is added to a page
  • Improved UI for Dreamweaver
  • Various minor bug fixes and optimizations

Version 1.0.2

Version 1.0.1

  • Allow to run and use the Security Provider without the DMXzone Database Connector. Note that you will be able to define a single user or a static list of users, but you can not connect to a database without the DMXzone Database Connector ASP.

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. His expertise in countless languages and technologies gives inspiration and teach valuable lessons on his website – DMXzone.com which is most popular for its over high-quality Dreamweaver extensions and templates.

See All Postings From George Petrov >>

Share this Article