This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2007-12-04 07:48:00

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Networking Scratch

Hi, Stonehenge.

Sorry, it's not at all obvious. I've been meaning to post instructions, and here they are.

By default, all drives are visible. To make only selected drives be visible, edit the file "Scratch.ini" in the Scratch folder to add a line like this:

VisibleDrives = C:, D:, M:

Capitalization does not matter, but lettered drive names must end in a colon, and the drive names must be separated by commas.

(Note: the drives containing the Scratch folder and the user's home folder are always accessible via shortcuts even if you try to hide them using this mechanism. Thus, it's best to put the Scratch folder on a drive that you want to be visible.)

  -- John

Last edited by johnm (2007-12-04 07:53:21)

Offline

 

#27 2008-05-06 04:00:13

meastaugh1
Scratcher
Registered: 2008-04-11
Posts: 2

Re: Networking Scratch

Hi,

VisibleDrives is useful, but it would be more useful for schools if it could be coupled with a defaultdrive. Although the drive where scratch is installed has to be visible (c:) it would be useful for it to default to the user's homedir (in our case N:).

Kind regards
Michael

Last edited by meastaugh1 (2008-05-06 04:00:52)

Offline

 

#28 2008-05-09 10:26:27

ICTHUS
Scratcher
Registered: 2008-05-09
Posts: 1

Re: Networking Scratch

"VisibleDrives = C:, D:, M:"

When I add this command to scratch.ini and add in our mapped network drives, scratch does not show any mapped network drives at all. If I then remove the command it shows all mapped network drives, including invisible ones.  Which is very insecure and does not follow proper MS programming methodologies.

Therefore I would recommend anyone think seriously about installing scratch whilst this remains a problem as it presents a serious security breach.

Last edited by ICTHUS (2008-05-09 10:27:21)

Offline

 

#29 2008-07-18 16:08:36

MrLeech
Scratcher
Registered: 2008-07-18
Posts: 3

Re: Networking Scratch

I also am a technician working in a Primary School in England. We have downloaded the latest version of Scratch 1.2.1 (6-Dec-07) on 15-Jul-08. We immediately came across the problem with Scratch displaying EVERY drive in the system. It has taken me until now - 18-Jul-08 to find the reference to "VisibleDrives" in the .ini file. It does NOT work - ICTHUS reported this on 2008-05-09, and there does not appear to have been any response since. Please, what is happening?

Offline

 

#30 2008-07-21 11:24:46

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Networking Scratch

Hi, ICTHUS and MrLeech.

Sorry about the slow response -- and that you are having these problems.

I have had reports from some people that this feature works (and it works for me to control the visibility of physical drives), so I'm not sure what's different about your network setup. Does it work if you just specify the C: drive? That is, can you see the C: drive from Scratch if you do that?

Check the syntax of the line in the scratch.ini file. The drive names must end in colons and be separated by commas.

    -- John

Offline

 

#31 2008-07-21 11:33:16

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Networking Scratch

Hi, ICTHUS and MrLeech.

Sorry about the slow response -- and that you are having these problems.

I have had reports from some people that this feature works (and it works for me to control the visibility of physical drives), so I'm not sure what's different about your network setup. Does it work if you just specify the C: drive? That is, can you see the C: drive from Scratch if you do that?

Check the syntax of the line in the scratch.ini file. The drive names must end in colons and be separated by commas.

    -- John

Offline

 

#32 2008-07-27 08:56:15

MrLeech
Scratcher
Registered: 2008-07-18
Posts: 3

Re: Networking Scratch

Tested on own machine at home - Windows/XP
Tested by start Scratch - open -Computer see list of drives C: D: E: F: which are real local drives; Q: a DVD drive; K: & L: mapped network drives; Z: a networked SD camera memory card ! Changed scratch.ini to add "VisibleDrives = C:" (without the quotes) and tested again - start Scratch - open -Computer -- see no drives at all - not even C:
But in either case can see "projects" which is a sub-directory of where scratch is installed on the C drive, and by repeated "goto parent directory" in this window I can reach "My Computer" and see ALL the drives.

Offline

 

#33 2008-07-27 09:01:48

MrLeech
Scratcher
Registered: 2008-07-18
Posts: 3

Re: Networking Scratch

Sorry - correction to my last post - I should test twice before I type!
Having "VisibleDrives=C:" in scratch.ini always causes "Computer" to be empty, accessed either way.

Offline

 

#34 2008-07-27 22:29:19

matthewjose
Scratcher
Registered: 2008-07-16
Posts: 100+

Re: Networking Scratch

HolyroodITS wrote:

With reference to Cai post 10 - I am one of the so called techies!!

I completely agree with Priory - Your program needs to be able to either interact with standard windows security policies or have an admin install where you can specify which drives the program allows the end user to see and to set the open/save path etc.

It would also be an advantage if the program came packaged as a MSI file so it can be deployed using windows standard Active directory and group policy. This could then be modified at admin install level to meet local requirements.

Not to be offensive, but you could just use The Amazing Quote Button to reply to Cai's post..
With The Amazing Quote Button, you can reply to anyones post(unless the topic is locked)without having to explain anything!


My chat room, and join a Critique Group for feedback on your projects.

Offline

 

#35 2009-01-12 08:10:48

millsy
Scratcher
Registered: 2009-01-12
Posts: 1

Re: Networking Scratch

Just a bump for this thread.

Have there been any developments with this issue? I've downloaded v1.3.1, and tried the VisibleDrives setting in the .ini file and it doesn't work for me either.

Offline

 

#36 2009-02-03 05:14:31

K_A
Scratcher
Registered: 2009-02-03
Posts: 1

Re: Networking Scratch

I think I have worked out the problems with scratch.ini

the line
VisibleDrives=n:
always works

the line
VisibleDrives=N:
always fails

i.e make the drive letters lower case and it works!

Kevin

Offline

 

#37 2009-02-03 12:16:48

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Networking Scratch

On my school I can access all hidden drives through the file dialogs.

I wonder how it s possible that educational software (not designed to pass the security) just passes it and has access to everything.

Maybe the VisibleDrives thing is not a real solution...


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#38 2009-02-09 09:34:04

johnadmin
Scratch Team
Registered: 2007-03-13
Posts: 100+

Re: Networking Scratch

Hi, K_A.

Thanks for info about drive case names needing to be lower case. I'll report that as a bug; I think it was original case-insensitive but the transition to Unicode may have broken that.

There is now an MSI installer on the download page.

  -- John

Offline

 

Board footer