> For the complete documentation index, see [llms.txt](https://docs.swingsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swingsoftware.com/pdf-converter-for-notes/tips-miscellaneous/disabling-access-for-non-administrators.md).

# Disabling access for non-administrators

## Description

PDF Converter is installed on a server from where the PDF toolbar icon installation emails are distributed to end-users. Once a user starts converting documents using the toolbar icon, a PDF Converter database bookmark is added to their Notes workspace. SInce all end-users need to have a minimum of a Editor access privilege on the PDF Converter database, they therefore also have the ability to access the server installation of PDF Converter (using the bookmark) and to send out installation emails on their own.

## Solution

The PDF Converter database has no security model set but customers can freely modify it in a way which provides for their specific needs. In order to block non-administrators from sending the PDF toolbar icon installation emails to other users you need to perform an access check in the PDF Converter database. Open the database in Domino Designer and edit the QueryOpen event of the .ToolbarDistribution form as follows:

```
Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
 Dim s As New NotesSession
 If s.CurrentDatabase.QueryAccess<5 Then
  Msgbox "You are not allowed to access this part of application. Only designers and managers can acess this part of SWING PDF Converter"
  Continue=False
  Exit Sub
 End If
 
 Continue=True
End Sub
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/tips-miscellaneous/disabling-access-for-non-administrators.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
