security inceptor with modules

how do i setup the securityrules.xml.cfm file to support modules?

For example, I have a module called billboards.

Inside the handlers, I have index.cfc, editor.cfc, admin.cfc

I need index.cfm and all of its actions to be whitelisted but everything else to be secured.

[File Path]
/modules/billboards/handlers/index.cfm
/modules/billboards/handlers/editor.cfc
/modules/billboards/handlers/admin.cfc

[XML Config]

^billboards\.index.* ^billboards\..* billboards login

However the xml example above isn’t working.


Jeremy R. DeYoung
Phone: 615.261.8201

FacebookLinkedInGoogle ReaderTwitterAmazonGoogle
Google Talk/LunarFly Skype/DeYoungJD

That wont work because your event syntax is wrong. The modulename is missing and you have the regex starting at billboards. Module syntax is

Module:handler.action

Luis is correct,

Try this…

[XML Config]

billboards:index…
billboards:…

billboards

login

Curt Gratz

Computer Know How

thanks Curt, I was just about to reply back with the correct format. Worked like a charm!


Jeremy R. DeYoung
Phone: 615.261.8201

FacebookLinkedInGoogle ReaderTwitterAmazonGoogle
Google Talk/LunarFly Skype/DeYoungJD

Great,

I suppose the “Luis is correct” goes without saying. Shocker I know.

Glad you got it working.

Curt