Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > File access logging View modes: 
User avatar
Member
Member
shanejh - 11/10/2011 10:37:33 PM
   
File access logging
Not completely sure his is the right place to put this, but anyway.

I'm just looking into logging page and file access. This is for Auditing not for analytics. I'm wondering if there is an easy way to do this? I'm thinking worst case I can just write a web part that writes info events to the event log and drop it into each page. That won't log downloads of attachments though.

There any way to do this already? Anyone got some other ideas?

Regards
Shane

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/11/2011 3:54:38 AM
   
RE:File access logging
Hello,

You can log the downloads in the GetFile file:

CMSPages\GetFile.aspx.cs

Files accessed directly on the disk won't be logged. You would have to create custom IIS handlers for all extensions you want to track. Our analytics module tracks also only downloads processed by Kentico.

Best regards,
Boris Pocatko

User avatar
Member
Member
shanejh - 11/13/2011 5:26:27 PM
   
RE:File access logging
Thanks Boris, I have done just that.

I have used CMS.EventLog and added a custom function that is called in GetFile. I then just use the EventLogProvider to log an information event.

All our files are store in the database, but we don't have access to analytics as the site is only on a standard license. Is there an addon license to gain this functionality?

Thanks again.
Regard
Shane

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/15/2011 2:10:26 AM
   
RE:File access logging
Hello,

No problem, glad I could help. The web analytics package is available in the ultimate license or in the advanced package. You can check our product matrix for more information. I would also suggest you to contact directly our sales department at sales@kentico.com as they can give you more details on pricing, if you are interested.

Best regards,
Boris Pocatko