WIP: Disable ability to create NEW signatures (once done with a site build)

Someone recently mentioned this improvement to the latest 1.9.7 security enhancements in the Bricks Facebook group, which I thought was a great idea.

“It would be amazing if you could disable the possibility to create NEW signatures via a constant in wp-config or a hook. That way, you can lock code creation down after you’re done with a site build.”

Is this possible at all?

3 Likes

I love that idea. When a site build is “done”, just stop any future code being created or destroyed.

I shared Calvin’s idea with the team and we agree it would be great to have this! I’ve created an internal ticket to tackle this.

2 Likes

Nice! Thanks for doing that.

Signatures protect the code that is inserted into the Code widget, but there is still no protection for JS code in the page settings and in the Bricks settings. Isn’t JavaScript code dangerous? By implementing it you can steal redirects or steal cookies

But if you look from the other side, there are plenty of places where you can implement JS code :frowning: