Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DTS Script running external .dll
Message
De
17/11/2006 15:43:14
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, États-Unis
 
 
À
08/11/2006 09:26:59
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01167995
Message ID:
01170839
Vues:
11
>I have a DTS script that is loading a table from an external data source. What we are doing now is loading a temp table which has a plain text password, using the SQL Server encrypt() function on that field, and then moving it to our production table.
>
>Now we have another encryption procedure we are required to run, and it exists in a .dll file. Can I just run an ActiveX Script Task that calls this .dll to encrypt the password? Is this a recommended practice?
>
>Thanks in advance,
>Mike

Mike,

You can call your activex

Dim sMypassword as string
sMypassword = "goodasitget"

Dim oEncryption as Object
Set oEncryption = CreateObject("my.encryption.dll")

Dim sEncrypt as string
Dim sDecrypt as string

sEncrypt = oEncryption.Encrypt(sMypassword )

Msgbox(sEncrypt)

sDecrypt = oEncryption.Decrypt(sEncrypt)

Msgbox(sDecrypt)

PS - The dll has to be registry on the machine running the DTS package.

Evans, Carl
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform