You are not logged in.

joe

Unregistered

1

Monday, February 10th 2003, 8:42pm

Disable local filesystem access?

I am considering using KDE 3.0 and Konqueror for a public web kiosk. Is there a way to entirely prevent local filesystem access in KDE 3.0? This would include preventing access to the filesystem by typing / into the URL field of Konqueror. I know KDE 3.1 has this capability, but I would prefer to use what is boxed with Redhat 8 and Mandrake 9. Thanks!

Unregistered

2

Monday, February 10th 2003, 8:46pm

See http://kde-forum.org///viewtopic.php?t=137

joe

Unregistered

3

Monday, February 10th 2003, 10:54pm

Thanks! I wondered where all the documentation for KDE 3.0 kiosk mode was at.

I tried the suggestion to disable local filesystem access by adding to the kdeglobals file:
[KDE URL Restrictions][$i]
rule_1=list,,,,file,,,false
rule_2=list,,,,file,,$HOME,true

However, this did not seem to make any change. KDE says: "Changing restrictions may influence the data that is cached in the ksycoca
database. Since changes to .../share/config/kdeglobals do not trigger an
automatic ksycoca update you need to force an update manually.
To force an update of the ksycoca database touch the file
.../share/services/update_ksycoca. This will force a user's sycoca database
to be rebuild the next time the user logs in."

I suspect this might be my problem, but the update_ksycoca binary does not exist on my hardrive. Any suggestions? Thanks!

Unregistered

4

Monday, February 10th 2003, 11:01pm

There was simply not much Kiosk mode in KDE 3.0.

joe

Unregistered

5

Tuesday, February 11th 2003, 2:32am

Does that mean that the [KDE URL Restrictions] switch won't do anything at all in 3.0? I'm not sure if it's me or KDE that has the problem. The KDE doc that I looked at (http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdecore/README.kiosk?rev=1.23&content-type=text/x-cvsweb-markup) refers to "KDE3" throughout the article.

Unregistered

6

Tuesday, February 11th 2003, 8:48am

I would bet. Read http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdecore/README.kiosk to see which version of the document applies to which KDE 3.x or 3.0.x version.

joe

Unregistered

7

Tuesday, February 11th 2003, 2:34pm

According to the CVS, the section regarding URL Restriction is part of the "MAIN" branch, not the separate KDE_3_1 branch. Hmm...

joe

Unregistered

8

Thursday, February 13th 2003, 4:10pm

Is it possible to run KDE in conjunction with a restricted shell like rsh or rksh, so that KDE can only use the subset of commands available in those shells? In general, doesn't Konqueror just use the cd and ls commands to retrieve the file info it displays? Thanks, hope that wasn't a dumb question. :D

Unregistered

9

Thursday, February 13th 2003, 9:06pm

Quoted

Original von joe

In general, doesn't Konqueror just use the cd and ls commands to retrieve the file info it displays?


Of course it doesn't use shell commands for this.