capturing user IP address information for audit

Posted by Samuel on Stack Overflow See other posts from Stack Overflow or by Samuel
Published on 2010-04-04T17:07:27Z Indexed on 2010/04/04 17:13 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

We have a requirement to log IP address information of all users who use a certain web application based on JEE 5. What would be an appropriate sql data type for storing IPv4 or IPv6 addressses in the following supported databases (h2, mysql, oracle). There is also a need to filter activity from certain IP addresses. Should I just treat the representation as a string field (say varchar(32) to hold ipv4, ipv6 addresses)

© Stack Overflow or respective owner

Related posts about database

Related posts about audit