Revolving around the core of technology
SynaMan supports Google reCAPTCHA on its login page, adding an invisible layer of bot protection that blocks automated credential-stuffing attacks without requiring your users to solve a puzzle.
Automated bots routinely try to break into web applications by cycling through millions of username and password combinations. Because SynaMan can be exposed to the internet for file sharing, it is an attractive target. Google reCAPTCHA silently scores every login attempt in the background and blocks requests that look machine-generated, without any visible friction for real users.
SynaMan supports both flavors of reCAPTCHA:
| Edition | Best for | Requires a Google Cloud project? |
|---|---|---|
| reCAPTCHA (standard) | Most deployments. Fast to set up using the Google reCAPTCHA Admin Console. | No |
| reCAPTCHA Enterprise | High-volume or compliance-sensitive deployments that need detailed risk scoring and audit logs. | Yes |
AppConfig.xml and never sends it to the browser.
**********) in that field rather
than the real value. Leave the field unchanged when saving other settings —
SynaMan will not overwrite the stored key with the placeholder.
After saving, open the SynaMan login page. Right-click and choose
View Page Source (or open the browser Developer Tools). You should
see a <script> tag loading
https://www.google.com/recaptcha/api.js?render=YOUR_SITE_KEY
(or enterprise.js for the Enterprise edition). A successful login
attempt will also include a hidden g-recaptcha-response parameter
in the form submission.
If the reCAPTCHA score falls below Google's threshold, the login request is rejected with the message Recaptcha key is invalid and the event is logged. Legitimate users on a normal browser will never see this message.
disable_captcha.txtIf reCAPTCHA is misconfigured and nobody can log in, you can disable it for a single server startup without touching the database or configuration files:
disable_captcha.txt in the SynaMan
working directory (the folder from which SynaMan was started).If your SynaMan deployment uses a strict Content Security Policy (CSP) header, the browser will block the Google reCAPTCHA script unless the policy explicitly allows it. SynaMan handles this automatically:
https://www.google.com and https://www.gstatic.com
to the script-src directive, and adds a
frame-src https://www.google.com directive for the challenge
iframe.use.content.security.policy.self system property) and any
custom headers defined in config/CustomHttpHeaders.txt.No manual changes to your CSP are needed; the adjustment is applied dynamically whenever reCAPTCHA is active.
No. SynaMan uses the invisible score-based reCAPTCHA v3 pattern. There is no visible widget or image challenge on any device. Mobile users log in exactly as they did before.
Yes. When reCAPTCHA is enabled, SynaMan verifies a reCAPTCHA token before processing any password-reset request. This prevents bots from abusing the reset email endpoint to enumerate valid accounts or flood inboxes.
Yes. The reCAPTCHA script tag and form integration are injected by SynaMan at
the application level and are independent of the branding template. Ensure your
CustomTemplate.htm includes Bootstrap JS so that the
"Forgot your password?" modal dialog renders correctly.
Yes. Simply update the keys and toggle the Use reCAPTCHA Enterprise checkbox in the configuration tab, then click Save. The switch takes effect immediately without restarting SynaMan.
SynaMan delegates the pass/fail decision to Google's
verifyCaptcha API. Google recommends treating scores below
0.5 as likely automated. Consult the
reCAPTCHA v3 documentation
for guidance on tuning the threshold for your user population.