Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
collective.pfg.sqladapter
Advanced tools
collective.pfg.sqladapter
adds a form action adapter to PloneFormGen that
saves form input data in a SQL database using SQLAlchemy.
To install collective.pfg.sqladapter
add it to the list of eggs in your buildout.
To configure the database, use z3c.saconfig and define a named scoped session "collective.pfg.sqladapter" in your configure.zcml or in the "zcml-additional" parameter of your buildout.
Example::
<configure xmlns="http://namespaces.zope.org/db">
<engine name="collective.pfg.sqladapter" url="mysql://user:password@localhost/database" />
<session name="collective.pfg.sqladapter" engine="collective.pfg.sqladapter" />
</configure>
Run buildout and restart your instance. Then install the product using Quickinstaller.
To save form input data in your SQL database add a "SQLAdapter" in your Form Folder and enter the name of the table where the input data should be stored.
If a table with the given name does not exist in your database, it will be created with columns corresponding to the fields in your form. Thus the "SQLAdapter" should be added after all fields were added.
FAQs
A PloneFormGen adapter that saves form input data in a SQL database
We found that collective.pfg.sqladapter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.