To learn how to use the templates available within the ScriptCase in the security module, follow these steps:
1 – Create a new Control application.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/control-1024x515.png)
2 – Check the option to use HTML Template
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/set-html-1024x513.png)
3 – When opening the application’s edition, in ” User HTML “, this is where we define the source code of the application. We can use the ” HTML “, ” CSS ” and ” Javascript ” tabs to create the necessary code to display the application, or we can use the ” External library ” option to select an existing html file.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/html-1024x410.png)
4 – We will use the external library, and select our file “ login04.html ”
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/library-1024x541.png)
5 – Run the application
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/run-app-1024x66.png)
In the Security module
1 – First, let’s create a security module, accessing the menu “Modules >> Security”
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/menu-security-1024x106.png)
2 – Select one of the Security types. In this example, we will use the “Group” type.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/group-by.png)
3 – Select the connection and define whether you want Scriptcase to create security tables, or use tables that already exist in the database.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/sec2-1.png)
4 – Make or confirm the association of the fields that will be used in security.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/sec3.png)
5 – Then, in “Configuration”, click on the item “Login Template”, and check Yes in the option ” Use template in the login screen “. You can then select an existing template or create a new one. We will use “login04”.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/sec4-1024x491.png)
6 – If the option is not enabled, click on “ Enable external libraries ”.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/sec5-1-1024x407.png)
7 – We will be redirected to the “External Libraries” options, where we should check ” Use the library ” ” samples ” and finally ” Save project libraries “
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/sec6-1024x166.png)
8 – Returning to the security module settings, select the template, and proceed with the other settings until you finish creating the module.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/sec7-1024x389.png)
9 – Open the login application that was created by the security module.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/end-1024x440.png)
10 – Run the application
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/run-app-1-1024x66.png)
Comment this post