Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 9:19 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Check for USB_STICK name
PostPosted: January 27th, 2016, 5:36 am 
Offline

Joined: November 4th, 2004, 1:37 am
Posts: 50
Location: Hervey Bay, Australia
How can I get a publication to check for a USB stick name for security?

The old 'Check for CD_ROM name' is not as relevant as it once was.

_________________
Trevor Boulton
boultons MultiMedia


For this message Trevor Boulton has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 10:06 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
What stops someone copying to a different USB Drive with the same name?

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 10:28 am 
Offline

Joined: November 4th, 2004, 1:37 am
Posts: 50
Location: Hervey Bay, Australia
Nothing,
The same way Check for CD_ROM name didn't stop people, all I want to do is slow the process,

can you tell me how to do it?

_________________
Trevor Boulton
boultons MultiMedia


For this message Trevor Boulton has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 11:50 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
You can do it lots of different ways.

A DLL would be the most integrated I think, but most of the external scripting options should work - even the old command trick will work:

Code:
vol c: > b:\drivename.txt


</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 12:02 pm 
Offline

Joined: November 4th, 2004, 1:37 am
Posts: 50
Location: Hervey Bay, Australia
Because the drive letter will alter I guess I would need a DLL, can someone provide this for me? I don't know much about writing code.

_________________
Trevor Boulton
boultons MultiMedia


For this message Trevor Boulton has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 12:24 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Drive letter is easy - it's the first character of the SYSTEM_PUBLICATION_DIR variable.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 12:46 pm 
Offline

Joined: November 4th, 2004, 1:37 am
Posts: 50
Location: Hervey Bay, Australia
Can someone provide me with a complete solution?
Or is there a system variable for the USB stick drive name?

_________________
Trevor Boulton
boultons MultiMedia


For this message Trevor Boulton has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 4:55 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
A simple autoIT solution for anybody that wants to use it (as supplied):

http://sandbox.interaktiv.co.uk/temp/start.zip

1. Place start.exe in the same folder as publication.
2. Name publication default.exe
3. Run start.exe

Start will silently launch your Opus application (default.exe) with the name of current drive. Opus can access this information using an in-built variable called COMMAND_PARAM_1 (see standard help). I suggest displaying the value on screen to start to verify it works. It will appear in inverted commas because of potential spaces in the drive name. Either include this in the comparison or remove them using substring (see script help).


</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 28th, 2016, 8:56 pm 
Offline

Joined: November 4th, 2004, 1:37 am
Posts: 50
Location: Hervey Bay, Australia
Thanks, that displays the USB stick name, now without needing an IT degree how can I add something to my publication to check that it is running from a USB stick with a name I choose - or who can I employ to do this for me?

I am not looking for an education, I am looking for a workable solution.

_________________
Trevor Boulton
boultons MultiMedia


For this message Trevor Boulton has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: January 30th, 2016, 12:00 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Sorry, busy yesterday.

You need to use IF, ELSE Actions on the programming tab to handle the logic. We can build it for you, but we have a minimum 1hr charge @ £35GBP.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Check for USB_STICK name
PostPosted: February 2nd, 2016, 10:06 pm 
Offline

Joined: November 4th, 2004, 1:37 am
Posts: 50
Location: Hervey Bay, Australia
Finished saving my Aussie pennies, let's go ahead. boultons@gmail.com

_________________
Trevor Boulton
boultons MultiMedia


For this message Trevor Boulton has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group