Re: Change in SQL functionality between 7 and 2k

From: James (James_at_south.africa)
Date: 09/27/03


Date: Sat, 27 Sep 2003 09:51:24 -0700


Thanks Dan,

At least now I can prove that trying to "fix" the old way
is a dead-end street.

>-----Original Message-----
>The ENCRYPT function is not documented in SQL 7 or 2000,
AFAIK. As
>such, Microsoft can change or remove the function without
notice. If
>you choose to use undocumented functionality, you do so
at your own risk
>because changes may be made between versions or service
packs without
>notification.
>
>> I am in the process of replacing it
>> with more secure methods (if I can get the rest of my
>> company on-board)
>
>This is certainly a good idea.
>
>--
>Hope this helps.
>
>Dan Guzman
>SQL Server MVP
>
>-----------------------
>SQL FAQ links (courtesy Neil Pike):
>
>http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
>http://www.sqlserverfaq.com
>http://www.mssqlserver.com/faq
>-----------------------
>
>"James" <James@south.africa> wrote in message
>news:081601c3845e$b9730120$a301280a@phx.gbl...
>Hi,
>
>Does anyone know why MS changed the way that the ENCRYPT
>('message') function works? I am in the process of
>replacing an old authentication method which uses this
>function because it works differently between SQL 7 and
2K.
>
>Here's an example: on my computer I have SQL 7 running
>alongside a SQL 2K instance. I execute exactly the same
>statement against both instances. SELECT CONVERT(VARCHAR
>(20), encrypt('mysecret'))
>
>In SQL 7 I get what I expect: bЃSLL&#8217;v4пфЏъП
>In SQL 2K I get a unicode translation in clear text:
>mysecret or something similar.
>
>I have found no info about this in technet or in the
>product info for 2000. I am in the process of replacing it
>with more secure methods (if I can get the rest of my
>company on-board) but I still want to know what changed
>and why the chage wasn't documented.
>
>
>.
>



Relevant Pages

  • Re: SQL upsizing
    ... I agree with Dan, but make not mistake, if your application requires to use ... a SQL database MS, MySQL or ORACLE, then your programming habit must change. ... > Where are the 15 years worth of articles? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: IIS & SQL, NT authentication for Web
    ... Hi Dan. ... | Subject: Re: IIS & SQL, NT authentication for Web ... | I guess I wanted to confirm that, yes a user should Authenticate to SQL ... as your Internet users won't have Windows NT accounts on your ...
    (microsoft.public.sqlserver.security)
  • Re: Using * as a literal in query criteria
    ... Should this be reported to Microsoft? ... Dan R ... "Michel Walsh" wrote: ... It seems there is a problem between Jet and MS SQL Server (at the ODBC ...
    (microsoft.public.access.queries)
  • Re: xp_cmdshell
    ... Thanks Dan ... > Only members of the sysadmin server role can execute xp_cmdshell by ... > encapsulates the xp_cmdshell commands. ... > The OS security context for non-sysadmin users is limited to the SQL ...
    (microsoft.public.sqlserver.security)
  • Re: SQL
    ... Dan, thanks thats useful. ... the data model is not complicated at all. ... you should use SQL Server if you ... > and/or you expect to have more the 5 concurrent users. ...
    (microsoft.public.access.modulesdaovba)