# Update Security Token in Designer Service

Discover how to specify a security token at runtime to improve your application's security measures efficiently.

## Content



A site with the WebDesigner application may require to specify tokens. In this case, you should use the code as demonstrated below:

```
GrapeCity.ActiveReports.Designer.create('#ar-web-designer', {
    server: {
        onBeforeRequest: (init) => alert(init.credentials),
    }
```