Using HTACCESS for Secret Access

I don’t think that’s possible using .htaccess alone.

Even if it were, what would be the usefulness of keeping a secret which would be displayed in plain text in the URL bar?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)