karian Posted February 1, 2022 Share Posted February 1, 2022 Hi, One of our clients, an art fair, uses the formbuilder plugin to gather applications from artists. Artists fill a form with a pdf of their work in order to apply. As one of the artists complained, the problem is that their file (managed by the formbuilder plugin) is public and referenced by Google. The url looks like "https://www.../form-builder/?view_file=...". Is there a way to protect the file or a least prevent it being referenced by Google ? Thanks ! Link to comment Share on other sites More sharing options...
fliwire Posted February 2, 2022 Share Posted February 2, 2022 https://developers.google.com/search/docs/advanced/robots/create-robots-txt Link to comment Share on other sites More sharing options...
karian Posted February 2, 2022 Author Share Posted February 2, 2022 @fliwire thanks. I found the problem, my "form uploaded files" folder was not configured properly. As said in the form-builder plugin settings, the folder should start with a dot to ensure it's not http accessible (see image). 1 Link to comment Share on other sites More sharing options...
karian Posted April 10, 2022 Author Share Posted April 10, 2022 People are still complaining about access from url "https://www.../form-builder/?view_file=...". Is it possible to protect this url for admin only viewing ? Link to comment Share on other sites More sharing options...
karian Posted April 10, 2022 Author Share Posted April 10, 2022 I realized we still need this form-builder special url access to share files among the team and non-admin members. A good solution would be the possibility to change the auto-generated url suffix (sequence of letters and numbers)... Looking into it. Link to comment Share on other sites More sharing options...
karian Posted April 10, 2022 Author Share Posted April 10, 2022 Solved it by changing the hash functions in site/modules/FormBuilder/FormBuilderMain.php, thus invalidating old urls from working. A configuration for this hash could be exposed directly from the admin, useful to reset access to hundreds of files without erasing them. Link to comment Share on other sites More sharing options...
karian Posted April 10, 2022 Author Share Posted April 10, 2022 After all that, I still don't understand how the "https://www.../form-builder/?view_file=..." form builder url could end up being referenced by Google. It's an url generated by form builder, so it can't be crawled by Google bots (even in the situation in which "Files Path" is not configured correctly with a private folder)... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now