PHP Code Launching Security Question - Joomla! Forum - community, help and support
all,
sorry potential basic question. have been playing joomla better part of week , half.
i been evaluating joomla potential cms candidate our customer/supplier portal our cms our home page.
currently have quite few php applications our customers log in , can see / update current orders. joomla portal need launch these applications , load in data based upon users' login credentials. login credentials need associate customer different groups used in application well.
if want give access specific customers these applications, i'm pretty sure figured out how that. (i creating iframe wrapper menu item. please let me know if proper)
the thing need know, how in php application code, can grab user launched application iframe wrapper menu item, , joomla groups belong to.
i need know how prevent user inspecting source code figure out php residing , launching code when not logged in. (perhaps can redirect perpetrator error page in php code when i'm unable obtain joomla user id example.)
thanks in advance!
rob
sorry potential basic question. have been playing joomla better part of week , half.
i been evaluating joomla potential cms candidate our customer/supplier portal our cms our home page.
currently have quite few php applications our customers log in , can see / update current orders. joomla portal need launch these applications , load in data based upon users' login credentials. login credentials need associate customer different groups used in application well.
if want give access specific customers these applications, i'm pretty sure figured out how that. (i creating iframe wrapper menu item. please let me know if proper)
the thing need know, how in php application code, can grab user launched application iframe wrapper menu item, , joomla groups belong to.
i need know how prevent user inspecting source code figure out php residing , launching code when not logged in. (perhaps can redirect perpetrator error page in php code when i'm unable obtain joomla user id example.)
thanks in advance!
rob
hi rob,
in joomla can find user's data this:
if var_dump($my); you'll see data.
by way; using wrappers last thing should try. don't know you're trying achieve, wrappers root of evil!
in joomla can find user's data this:
code: select all
$my = jfactory::getuser();
if var_dump($my); you'll see data.
by way; using wrappers last thing should try. don't know you're trying achieve, wrappers root of evil!
Comments
Post a Comment