the easiest way of fixing this is creating a trigger on your table. A trigger is executed after a record is inserted, updated or deleted. You could create a trigger on the table where UmbracoForms stores the records; UFRecords.
CREATE TRIGGER anonymizeIpUmbracoForms ON UFRecords FOR INSERT
AS
BEGIN
UPDATE UfRecords
SET IP = 'n/a'
END
This will update the field IP always to 'n/a'.
This is by far the easiest way. I think this will only work when your database is MS SQL Server (not SQL CE).
IP addresses
Hi
Umbraco forms seem to collect IP address by default - is there a way to stop that?
Thanks
Matt
What do you mean by that? Where is it collected?
They are collected in:
contour / the form / entries
Thanks, Matt
Aaah, valid point. I don’t think there’s not a simple switch you could click to prevent this. You’ll probably have to write something yourself.
Sorry for that,
Jeffrey
Thanks Jeffrey, appreciated.
Regards, Matt
Hey guys,
are you able to advise Umbraco Forms allows you to annoymise or not record the IP address since your chat earlier this year?
Hi Ricky,
the easiest way of fixing this is creating a trigger on your table. A trigger is executed after a record is inserted, updated or deleted. You could create a trigger on the table where UmbracoForms stores the records; UFRecords.
This will update the field IP always to 'n/a'.
This is by far the easiest way. I think this will only work when your database is MS SQL Server (not SQL CE).
Regards, Jeffrey
Smashing Thanks Jeffrey
is working on a reply...