Home Page
sc_site_ssl_macro_day_82_mbr_only
Show Transcripts
Transcripts
+
CAPTION


Hello everyone and welcome back to Macro Day here on Scriptcase by Jamie And today

we are going to tackle a super important topic in web development and that is of course

security and our macro of choice 4 This little mission of ours is the SC site

SSL and that is SC_site_SSL And you can think of this little macro as your application's built in bouncer

Yes the guy sitting at the door at your local bar checking everyone when they are coming in and

making sure that the bar Entrance is beautiful and secure Well if that's always the case well OK so

So what's the SC site SSL main gig Well you see it here on your screen here I have it

here so today's macro and we have it here as the SES And we have it here

as the SC_site_SSL and its main core purpose is to detect if your website is

being accessed via HTTPS That's the HTTPS for secure encrypted version of uh HTTP Basically You have your

HDTP website that you just plonk somewhere like how you say it just plonk it somewhere and

then it is identified with an SSL certificate or secured with an SSL certificate which

identifies then the server and the the platform you're viewing basically that basically that communication between the end

user's browser and the server is secure they say OK so this macro helps you For those purposes because of

course that's exactly what it does it puts you in a secure space which you generally want

So this macro is basically your first line of defense helping you to enforce secure communication or even redirect

your users to a secure version of your website And you know making sure they don't sneak in through

any back alleyway doorway that you have hidden away there somewhere that they can maybe

access your data So it's really good to use when Oh there's so many purposes OK so instead

of actually showing you it here within the blank application because it is one of those

really weird macros As it is so I will come directly to a form application and one of the

great things about this macro is that it's scope is pretty huge right You can

use it across all of Scripcase's applications So yes grids forms control applications typically the blank well I could

probably use it in the blank as well but we'll go back there in a

few moments For now we'll just concentrate on the form and then we'll check it out

here OK so we're in here We can apply it also to just about any event that

we want to So we have the on application in it on script in it

on refresh on validate on insert on before yada yada So we can use it

within the majority of events that we have In applications when we want to either verify something

when we load the application just generally when you would want to use it you can use this

macro So if I come here to the on script in it event and let me

run first of all this form application and we can see the default form as it generally

is So with this macro being pretty versatile we can use it for all sorts of reasons which is then

pretty awesome So let me start off by here first of all adding here my

if event and then here I can I can then add the SC site_SSL macro and then within this

I can basically check if this website is secure So if I go echo and I will then

say here OK Secure OK let me add a lower case there now We can

then also go else if we wanted to and we can then echo Not secure

And if I go ahead and run that we have then here our form application and as

I am running this locally in HTTP as I know then it is indicating as

not secure Now if I have this online or somewhere where I have an SSL

certificate applied to the domain then I can use the HTTP certification for the browser communication

And well with that this will then change to OK secure So in many cases you

can use this for so many different purposes So of course detecting whether SSL is available and confirmed

if if everything's hunky dory you may say or just in a good condition so that

you can continue with your communication Now it's unsafe then maybe you want to redirect the user to a

safer version or an alternative page or whatever it may be So there are quite a

few use cases not only in redirecting users Blocking sensitive forms unless they are maybe

accessed securely making sure that your payment information is you know secured within that application that is currently being used

or any of that company data is secured as well as for auditing purposes and so forth it is you

know a good thing to apply within your code So there are quite a few reasons and

of course A lot of examples that you may want to actually use this specific macro But I'm afraid

that is all for today's macro so I will be creating a special video for members only

and that will be over on the Scripcase by Jamie website Video website should I say

and there you can check out the member videos so do be sure to check them out

because you'll have some extra content for this specific macro and of course other macros up and

coming or even the older ones we'll go through those ones and we'll throw some extra interesting there for

members only so you have some great examples on how you can use these awesome macros within

your scriptcase applications because I'm always saying how awesome cripcase is and it really is pretty

awesome So let me show you here first of all the blank application because Really right now

this is giving me an error message because yeah it's just one of those things So I'm gonna come

here and create a new blank application And what I'm going to do then is copy what we have here

and then apply that here within this blank application because as I mentioned previously and as it is in many

of the cases when I show these videos some of these may it may indicate that this is a

bug or an issue and really it's not it's because this macro it it needs to be used

in a very specific way So as I you know as I say in a in a very specific

way because It isn't just a macro it's it basically works as a function already I just call this

macro slash function and then it will allow me to use it Now it has to

be then used with maybe an FL statement or an if statement I don't need the L I

can just have that like so and that is it And then from there there's nothing And of course

if I wanted to now I could then redirect this user To another location so the most basic

way would be to then your HTTPS my domain name And off you go you have then

the secure version loaded of your page Now as I said for members only there will

be more examples added in an extended version of this video Be sure to check out the membership if

you are not a member over our script case by Jamie and with that of course you

can have some extra content And of course if you are still watching this video then that means you

are watching this over on the Scriptcase by Jamie Video site Thank you for that

And of course thank you for being a member Now I hope this video helps you further with some extra

examples or demos of these macros and that you can then use within your applications because of course every

little helps I would think right OK so to continue with the SC site SSL macro so

you had just seen this function in a way that we can basically redirect the use

if we wanted to or just echo some output So let me just go ahead and comment these out

So say another example would maybe be if you have a global variable as say a payment button

There you go payment button like so and then we can then say well maybe we want to display

this video or not so here uh for instance I can say block and then here below

that I could then say SC Field Underscore display and then I can hide out

this block that we actually have so that would then be here for instance the

sensitive Field and that would then you you select that and don't forget to indicate whether

that field is on or off and you would then maybe display here your payment button if the

site is secure and you would then display also the sensitive fields if your site is secure And

then for the E we could then maybe say the same again but then of

course reverse that around So here we would say none And we would say off so that is then

also off and then on top of that we could maybe add here the echo and um you know tell

them To please use something secure or redirect them as we had here even using maybe

a timer and this way you will have within a form for instance Or even within a grid application you

know you can hide those action bar buttons and the buttons you insert into the fields as well You can

do all of that yourself and then with that you should be able to go ahead and hide the

content and redirect and secure your data as you need to OK so as another example of

this may actually be interesting because You know because we can use this if statement

instead of using the entire if else we can actually go ahead and we can say if

uh and an exclamation mark here SC_SSL So basically I hear I would be saying if

not straight away and then here maybe I want to log my message and that would maybe be

Let me close that first in secure access and we can maybe add a date into this Uh let's go

date added and here let's close that then up and then here we need to add here Our dates

in here as well and here we can then add maybe a date value in here whatever that may be

So I'll just go with the YMD and let's add then also the Hours and seconds and minutes in there

too and then with that we may want to then also add the IP address or anything else

you may want to add So here we can maybe logging data for instance and then with that we can

then you know once we've made this log add this then to our Database so X exec and SQL and

that will then allow us to use the database insert macro basically And then in here

we can just add in here our insert statement into and a security log or your

log table log say say table and like that you can then take your values So Let me

finish this off log in log Let me go out here values and that would then

be here our log message And I want to add that here In a table Long entry Right Log entry

and then here we would have our log message which are here our values Like so OK so just

like that we can then log those values into our database or using any other method as well

and then we can redirect the user maybe to somewhere alternative a different login or whatever else you know you

actually want to redirect that user to So in this case it's more about logging

and maybe redirecting so if you have maybe a security camera you know Um recording every single data which

is basically your logging system in some shape or form If you use it like that then every time something

suspicious happens I in this case you know you've been accessed insecurely then maybe you

don't only want to redirect that but maybe you would want to log that into your

logging table into your security Log table as well Now it is important to note that there is some limitations

with this and that it really works reliably on ISIS servers mainly Now I haven't

found issues with this on Apache um but you know I'm running Apacheche right now

it seems to be running perfectly fine Um so you know in some cases it's always good to

have a backup right so there you could use the server HDPS functionality and and that in there as uh

an extra layer maybe into your log So I hope that helped you as a member using

the scriptcase applications and of Of course these macros and of course there will be

more macro videos coming here to the Scripcase by Jamie Members or or this video channel where you can then

go ahead and well hopefully learn some more about the macros that you can use within Scriptcase

And if there's any example that you want to see with these macros then well comment down below or comment

in the video and I will be happy to create a video for you guys

to show you That is all for the SC site SSL Macro Now this is remember your bouncer

at the front door yelling to your end users no HTTPS no blooming entry No you can't get in here

No I'm gonna redirect you to a safer environment where you can perform your important transaction Whatever that may

be Of course face the wrath of those untrusted browsers where people may be wanting to steal all of your

data because that is of course the alternative right So if you found this video helpful you know

what to do and of course don't forget that every Friday here is macro day where I show you

how to use the macros within scriptcase in the best possible way So you can take Advantage of all of

that goodness And of course the best way for that is to be a member of Scriptcase by

Jamie So don't forget to let me know in the comments below how you are using the SC site SSL

secure Macro to secure your scriptcase applications And I'll see you next week Friday for another

macro day right here on Scriptcase by Jamie



CAPTION TRANSLATED TO ENGLISH LANGUAGE


Hello everyone and welcome back to Macro Day here on Scriptcase by Jamie And today

we are going to tackle a super important topic in web development and that is of course

security and our macro of choice 4 This little mission of ours is the SC site

SSL and that is SC_site_SSL And you can think of this little macro as your application's built in bouncer

Yes the guy sitting at the door at your local bar checking everyone when they are coming in and

making sure that the bar Entrance is beautiful and secure Well if that's always the case well OK so

So what's the SC site SSL main gig Well you see it here on your screen here I have it

here so today's macro and we have it here as the SES And we have it here

as the SC_site_SSL and its main core purpose is to detect if your website is

being accessed via HTTPS That's the HTTPS for secure encrypted version of uh HTTP Basically You have your

HDTP website that you just plonk somewhere like how you say it just plonk it somewhere and

then it is identified with an SSL certificate or secured with an SSL certificate which

identifies then the server and the the platform you're viewing basically that basically that communication between the end

user's browser and the server is secure they say OK so this macro helps you For those purposes because of

course that's exactly what it does it puts you in a secure space which you generally want

So this macro is basically your first line of defense helping you to enforce secure communication or even redirect

your users to a secure version of your website And you know making sure they don't sneak in through

any back alleyway doorway that you have hidden away there somewhere that they can maybe

access your data So it's really good to use when Oh there's so many purposes OK so instead

of actually showing you it here within the blank application because it is one of those

really weird macros As it is so I will come directly to a form application and one of the

great things about this macro is that it's scope is pretty huge right You can

use it across all of Scripcase's applications So yes grids forms control applications typically the blank well I could

probably use it in the blank as well but we'll go back there in a

few moments For now we'll just concentrate on the form and then we'll check it out

here OK so we're in here We can apply it also to just about any event that

we want to So we have the on application in it on script in it

on refresh on validate on insert on before yada yada So we can use it

within the majority of events that we have In applications when we want to either verify something

when we load the application just generally when you would want to use it you can use this

macro So if I come here to the on script in it event and let me

run first of all this form application and we can see the default form as it generally

is So with this macro being pretty versatile we can use it for all sorts of reasons which is then

pretty awesome So let me start off by here first of all adding here my

if event and then here I can I can then add the SC site_SSL macro and then within this

I can basically check if this website is secure So if I go echo and I will then

say here OK Secure OK let me add a lower case there now We can

then also go else if we wanted to and we can then echo Not secure

And if I go ahead and run that we have then here our form application and as

I am running this locally in HTTP as I know then it is indicating as

not secure Now if I have this online or somewhere where I have an SSL

certificate applied to the domain then I can use the HTTP certification for the browser communication

And well with that this will then change to OK secure So in many cases you

can use this for so many different purposes So of course detecting whether SSL is available and confirmed

if if everything's hunky dory you may say or just in a good condition so that

you can continue with your communication Now it's unsafe then maybe you want to redirect the user to a

safer version or an alternative page or whatever it may be So there are quite a

few use cases not only in redirecting users Blocking sensitive forms unless they are maybe

accessed securely making sure that your payment information is you know secured within that application that is currently being used

or any of that company data is secured as well as for auditing purposes and so forth it is you

know a good thing to apply within your code So there are quite a few reasons and

of course A lot of examples that you may want to actually use this specific macro But I'm afraid

that is all for today's macro so I will be creating a special video for members only

and that will be over on the Scripcase by Jamie website Video website should I say

and there you can check out the member videos so do be sure to check them out

because you'll have some extra content for this specific macro and of course other macros up and

coming or even the older ones we'll go through those ones and we'll throw some extra interesting there for

members only so you have some great examples on how you can use these awesome macros within

your scriptcase applications because I'm always saying how awesome cripcase is and it really is pretty

awesome So let me show you here first of all the blank application because Really right now

this is giving me an error message because yeah it's just one of those things So I'm gonna come

here and create a new blank application And what I'm going to do then is copy what we have here

and then apply that here within this blank application because as I mentioned previously and as it is in many

of the cases when I show these videos some of these may it may indicate that this is a

bug or an issue and really it's not it's because this macro it it needs to be used

in a very specific way So as I you know as I say in a in a very specific

way because It isn't just a macro it's it basically works as a function already I just call this

macro slash function and then it will allow me to use it Now it has to

be then used with maybe an FL statement or an if statement I don't need the L I

can just have that like so and that is it And then from there there's nothing And of course

if I wanted to now I could then redirect this user To another location so the most basic

way would be to then your HTTPS my domain name And off you go you have then

the secure version loaded of your page Now as I said for members only there will

be more examples added in an extended version of this video Be sure to check out the membership if

you are not a member over our script case by Jamie and with that of course you

can have some extra content And of course if you are still watching this video then that means you

are watching this over on the Scriptcase by Jamie Video site Thank you for that

And of course thank you for being a member Now I hope this video helps you further with some extra

examples or demos of these macros and that you can then use within your applications because of course every

little helps I would think right OK so to continue with the SC site SSL macro so

you had just seen this function in a way that we can basically redirect the use

if we wanted to or just echo some output So let me just go ahead and comment these out

So say another example would maybe be if you have a global variable as say a payment button

There you go payment button like so and then we can then say well maybe we want to display

this video or not so here uh for instance I can say block and then here below

that I could then say SC Field Underscore display and then I can hide out

this block that we actually have so that would then be here for instance the

sensitive Field and that would then you you select that and don't forget to indicate whether

that field is on or off and you would then maybe display here your payment button if the

site is secure and you would then display also the sensitive fields if your site is secure And

then for the E we could then maybe say the same again but then of

course reverse that around So here we would say none And we would say off so that is then

also off and then on top of that we could maybe add here the echo and um you know tell

them To please use something secure or redirect them as we had here even using maybe

a timer and this way you will have within a form for instance Or even within a grid application you

know you can hide those action bar buttons and the buttons you insert into the fields as well You can

do all of that yourself and then with that you should be able to go ahead and hide the

content and redirect and secure your data as you need to OK so as another example of

this may actually be interesting because You know because we can use this if statement

instead of using the entire if else we can actually go ahead and we can say if

uh and an exclamation mark here SC_SSL So basically I hear I would be saying if

not straight away and then here maybe I want to log my message and that would maybe be

Let me close that first in secure access and we can maybe add a date into this Uh let's go

date added and here let's close that then up and then here we need to add here Our dates

in here as well and here we can then add maybe a date value in here whatever that may be

So I'll just go with the YMD and let's add then also the Hours and seconds and minutes in there

too and then with that we may want to then also add the IP address or anything else

you may want to add So here we can maybe logging data for instance and then with that we can

then you know once we've made this log add this then to our Database so X exec and SQL and

that will then allow us to use the database insert macro basically And then in here

we can just add in here our insert statement into and a security log or your

log table log say say table and like that you can then take your values So Let me

finish this off log in log Let me go out here values and that would then

be here our log message And I want to add that here In a table Long entry Right Log entry

and then here we would have our log message which are here our values Like so OK so just

like that we can then log those values into our database or using any other method as well

and then we can redirect the user maybe to somewhere alternative a different login or whatever else you know you

actually want to redirect that user to So in this case it's more about logging

and maybe redirecting so if you have maybe a security camera you know Um recording every single data which

is basically your logging system in some shape or form If you use it like that then every time something

suspicious happens I in this case you know you've been accessed insecurely then maybe you

don't only want to redirect that but maybe you would want to log that into your

logging table into your security Log table as well Now it is important to note that there is some limitations

with this and that it really works reliably on ISIS servers mainly Now I haven't

found issues with this on Apache um but you know I'm running Apacheche right now

it seems to be running perfectly fine Um so you know in some cases it's always good to

have a backup right so there you could use the server HDPS functionality and and that in there as uh

an extra layer maybe into your log So I hope that helped you as a member using

the scriptcase applications and of Of course these macros and of course there will be

more macro videos coming here to the Scripcase by Jamie Members or or this video channel where you can then

go ahead and well hopefully learn some more about the macros that you can use within Scriptcase

And if there's any example that you want to see with these macros then well comment down below or comment

in the video and I will be happy to create a video for you guys

to show you That is all for the SC site SSL Macro Now this is remember your bouncer

at the front door yelling to your end users no HTTPS no blooming entry No you can't get in here

No I'm gonna redirect you to a safer environment where you can perform your important transaction Whatever that may

be Of course face the wrath of those untrusted browsers where people may be wanting to steal all of your

data because that is of course the alternative right So if you found this video helpful you know

what to do and of course don't forget that every Friday here is macro day where I show you

how to use the macros within scriptcase in the best possible way So you can take Advantage of all of

that goodness And of course the best way for that is to be a member of Scriptcase by

Jamie So don't forget to let me know in the comments below how you are using the SC site SSL

secure Macro to secure your scriptcase applications And I'll see you next week Friday for another

macro day right here on Scriptcase by Jamie



CAPTION TRANSLATED TO ITALIAN LANGUAGE


Ciao a tutti e benvenuti al Macro Day qui su Scriptcase di Jamie And oggi

affronteremo un argomento molto importante nello sviluppo web e questo è ovviamente

sicurezza e la nostra macro di scelta 4 Questa nostra piccola missione è il sito SC

SSL e questo è SC_site_SSL E puoi pensare a questa piccola macro come al bouncer integrato nella tua applicazione

Sì, il ragazzo seduto alla porta del tuo bar locale che controlla tutti quando entrano e

assicurandosi che l'ingresso del bar sia bello e sicuro Bene, se è sempre così, va bene così

Allora, qual è il lavoro principale SSL del sito SC? Bene, lo vedi qui sullo schermo, qui ce l'ho.

ecco la macro di oggi e la abbiamo qui come SES E la abbiamo qui

come SC_site_SSL e il suo scopo principale è rilevare se il tuo sito web è

a cui si accede tramite HTTPS. Questo è l'HTTPS per la versione crittografata sicura di uh HTTP. Fondamentalmente hai il tuo

Sito web HDTP che hai appena piazzato da qualche parte come dici tu, lo metti da qualche parte e

quindi viene identificato con un certificato SSL o protetto con un certificato SSL che

identifica quindi il server e la piattaforma che stai visualizzando, fondamentalmente quella comunicazione tra la fine

il browser dell'utente e il server sono sicuri dicono OK quindi questa macro ti aiuta Per questi scopi a causa di

certo, è esattamente quello che fa, ti mette in uno spazio sicuro che generalmente desideri

Quindi questa macro è fondamentalmente la tua prima linea di difesa che ti aiuta a rafforzare la comunicazione sicura o persino a reindirizzare

i tuoi utenti a una versione sicura del tuo sito web e sai come assicurarti che non si intrufolino attraverso

qualsiasi porta di vicolo nascosto che hai nascosto da qualche parte lì dove forse possono

accedi ai tuoi dati Quindi è davvero utile da usare quando Oh ci sono così tanti scopi OK quindi invece

di mostrartelo effettivamente qui all'interno dell'applicazione vuota perché è una di quelle

macro davvero strane Come è così verrò direttamente a un'applicazione di modulo e una delle

La cosa grandiosa di questa macro è che il suo ambito è piuttosto vasto, giusto?

utilizzarlo in tutte le applicazioni di Scripcase Quindi sì, le griglie controllano le applicazioni in genere, il pozzo vuoto che potrei

probabilmente lo userò anche nello spazio vuoto ma torneremo su questo argomento tra un po'

pochi istanti Per ora ci concentreremo solo sul modulo e poi lo controlleremo

qui OK quindi siamo qui Possiamo applicarlo anche a quasi tutti gli eventi che

vogliamo Quindi abbiamo l'applicazione on in esso sullo script in esso

su aggiorna su convalida su inserisci su prima bla bla Quindi possiamo usarlo

nella maggior parte degli eventi che abbiamo nelle applicazioni quando vogliamo verificare qualcosa

quando carichiamo l'applicazione in genere quando vuoi usarla puoi usare questo

macro Quindi se vengo qui allo script on nell'evento e mi lascio

eseguiamo prima di tutto questa applicazione del modulo e possiamo vedere il modulo predefinito così come è generalmente

Quindi, poiché questa macro è piuttosto versatile, possiamo usarla per tutti i tipi di motivi, ovvero

piuttosto fantastico Quindi lasciami iniziare da qui prima di tutto aggiungendo qui il mio

se evento e quindi qui posso posso quindi aggiungere la macro SC site_SSL e quindi all'interno di questo

Posso sostanzialmente controllare se questo sito web è sicuro. Quindi se vado su Echo e lo farò

di' qui OK Sicuro OK lasciami aggiungere una lettera minuscola lì adesso Possiamo

quindi vai anche altro se volessimo e possiamo quindi fare eco Non sicuro

E se vado avanti e corro che abbiamo quindi qui la nostra applicazione di modulo e come

Lo sto eseguendo localmente in HTTP perché so che indica come

non sicuro Ora se ho questo online o da qualche parte dove ho un SSL

certificato applicato al dominio, quindi posso utilizzare la certificazione HTTP per la comunicazione del browser

E bene con questo questo cambierà quindi in OK sicuro Quindi in molti casi tu

può essere utilizzato per molti scopi diversi, quindi ovviamente rilevare se SSL è disponibile e confermato

se tutto va a gonfie vele, potresti dire, o semplicemente è in buone condizioni, quindi

puoi continuare con la tua comunicazione Ora non è sicuro, quindi forse vuoi reindirizzare l'utente a un

versione più sicura o una pagina alternativa o qualsiasi altra cosa possa essere Quindi ce ne sono parecchie

pochi casi d'uso non solo nel reindirizzamento degli utenti Bloccando i moduli sensibili a meno che non siano forse

accesso sicuro assicurandoti che le tue informazioni di pagamento siano protette all'interno dell'applicazione attualmente in uso

o qualsiasi dato aziendale è protetto anche per scopi di auditing e così via, sei tu

conosci una buona cosa da applicare nel tuo codice Quindi ci sono parecchie ragioni e

ovviamente Ci sono molti esempi in cui potresti voler effettivamente utilizzare questa macro specifica Ma temo

questo è tutto per la macro di oggi, quindi creerò un video speciale solo per i membri

e questo sarà sul sito web Scripcase di Jamie Sito web video dovrei dire

e lì puoi guardare i video dei membri, quindi assicurati di guardarli

perché avrai dei contenuti extra per questa macro specifica e ovviamente altre macro in alto e

in arrivo o anche quelli più vecchi, li esamineremo e ne aggiungeremo alcuni extra interessanti per

solo per i membri, quindi hai degli ottimi esempi su come puoi utilizzare queste fantastiche macro all'interno

le tue applicazioni scriptcase perché dico sempre quanto è fantastico cripcase ed è davvero carino

fantastico Quindi lasciami mostrarti qui prima di tutto la domanda vuota perché davvero in questo momento

questo mi sta dando un messaggio di errore perché sì, è solo una di quelle cose, quindi verrò

qui e crea una nuova applicazione vuota. E quello che farò poi è copiare quello che abbiamo qui.

e poi applicalo qui all'interno di questa domanda vuota perché come ho menzionato in precedenza e come è in molti

dei casi in cui mostro questi video alcuni di questi potrebbero indicare che si tratta di un

bug o un problema e in realtà non lo è perché questa macro deve essere usata

in un modo molto specifico Quindi come sai, come dico in un modo molto specifico

modo perché non è solo una macro, funziona fondamentalmente come una funzione. La chiamo semplicemente così

funzione macro slash e poi mi permetterà di usarla Ora deve

può essere utilizzato con un'istruzione FL o un'istruzione if. Non ho bisogno di LI.

puoi semplicemente averlo così e questo è tutto E poi da lì non c'è più niente E ovviamente

se volessi ora potrei reindirizzare questo utente verso un'altra posizione, quindi la cosa più elementare

il modo sarebbe quindi il tuo HTTPS il mio nome di dominio e via che hai quindi

la versione sicura caricata della tua pagina Ora come ho detto solo per i membri ci sarà

saranno aggiunti altri esempi in una versione estesa di questo video Assicurati di controllare l'iscrizione se

non sei un membro del nostro caso di script di Jamie e con quello ovviamente tu

può avere dei contenuti extra E naturalmente se stai ancora guardando questo video allora significa che

stai guardando questo sul sito Scriptcase di Jamie Video Grazie per questo

E naturalmente grazie per essere un membro. Ora spero che questo video ti aiuti ulteriormente con qualcosa in più.

esempi o demo di queste macro e che puoi quindi utilizzare all'interno delle tue applicazioni perché ovviamente ogni

un piccolo aiuto, direi, giusto? OK, quindi continua con la macro SSL del sito SC, quindi

hai appena visto questa funzione in un modo che possiamo fondamentalmente reindirizzare l'uso

se volessimo o semplicemente ripetere un output Quindi lasciami andare avanti e commentarli

Quindi un altro esempio potrebbe essere se avessi una variabile globale come ad esempio un pulsante di pagamento

Ecco il pulsante di pagamento come questo e quindi possiamo dire bene, forse vogliamo visualizzare

questo video o no quindi qui uh per esempio posso dire blocco e poi qui sotto

che potrei quindi dire SC Field Underscore display e quindi posso nascondermi

questo blocco che abbiamo effettivamente in modo che sarebbe qui per esempio il

Campo sensibile e che poi selezioneresti e non dimenticare di indicare se

quel campo è attivo o disattivo e potresti quindi visualizzare qui il tuo pulsante di pagamento se

il sito è sicuro e quindi visualizzerai anche i campi sensibili se il tuo sito è sicuro E

quindi per la E potremmo forse dire lo stesso ancora ma poi di

corso invertire che intorno Quindi qui diremmo nessuno E diremmo off quindi questo è allora

anche spento e poi in cima a quello potremmo forse aggiungere qui l'eco e uhm sai dire

loro Per favore usa qualcosa di sicuro o reindirizzali come abbiamo fatto qui anche usando forse

un timer e in questo modo avrai all'interno di un modulo ad esempio o anche all'interno di un'applicazione di griglia

sai che puoi nascondere i pulsanti della barra delle azioni e anche i pulsanti che inserisci nei campi. Puoi

fai tutto questo da solo e poi con quello dovresti essere in grado di andare avanti e nascondere il

contenuto e reindirizza e proteggi i tuoi dati come necessario OK quindi come altro esempio di

questo potrebbe essere davvero interessante perché sai perché possiamo usare questa istruzione if

invece di usare l'intero if else possiamo effettivamente andare avanti e possiamo dire if

uh e un punto esclamativo qui SC_SSL Quindi fondamentalmente sento che direi se

non subito e poi qui forse voglio registrare il mio messaggio e questo potrebbe essere

Lasciami chiudere prima questo in accesso sicuro e forse possiamo aggiungere una data in questo. Uh, andiamo.

data aggiunta e qui chiudiamolo poi su e poi qui dobbiamo aggiungere qui Le nostre date

anche qui e qui possiamo quindi aggiungere forse un valore di data qui, qualunque esso sia

Quindi userò semplicemente lo YMD e aggiungeremo anche le ore, i secondi e i minuti.

anche e poi con quello potremmo voler aggiungere anche l'indirizzo IP o qualsiasi altra cosa

potresti voler aggiungere Quindi qui possiamo forse registrare i dati per esempio e poi con quello possiamo

quindi sai che una volta creato questo registro, aggiungilo al nostro database, quindi X esegui e SQL e

che ci permetterà quindi di utilizzare la macro di inserimento del database fondamentalmente E poi qui dentro

possiamo semplicemente aggiungere qui la nostra istruzione di inserimento e un registro di sicurezza o il tuo

log table log dici dici table e così puoi quindi prendere i tuoi valori Quindi lasciami

finisci questo log in log Lasciami uscire qui valori e questo sarebbe quindi

sii qui il nostro messaggio di log E voglio aggiungerlo qui In una tabella Voce lunga Voce di log a destra

e poi qui avremmo il nostro messaggio di registro che qui sono i nostri valori Così OK quindi basta

in questo modo possiamo quindi registrare quei valori nel nostro database o utilizzare qualsiasi altro metodo

e quindi possiamo reindirizzare l'utente magari verso un'alternativa, un login diverso o qualsiasi altra cosa tu sappia

in realtà voglio reindirizzare quell'utente a Quindi in questo caso si tratta più di registrare

e forse reindirizzando, quindi se hai una telecamera di sicurezza sai che registra ogni singolo dato che

è fondamentalmente il tuo sistema di registrazione in qualche forma o modo Se lo usi in quel modo, ogni volta che qualcosa

Se succede qualcosa di sospetto, in questo caso sai che sei stato acceduto in modo non sicuro, allora forse

non solo vuoi reindirizzarlo ma forse vorresti registrarlo nel tuo

tabella di registrazione nella tabella di registro di sicurezza Ora è importante notare che ci sono alcune limitazioni

con questo e che funziona davvero in modo affidabile sui server ISIS principalmente Ora non ho

ho trovato problemi con questo su Apache um ma sai che in questo momento sto usando Apacheche

sembra funzionare perfettamente bene, quindi sai che in alcuni casi è sempre bene

avere un backup giusto, quindi potresti usare la funzionalità HDPS del server e quello lì dentro come uh

un livello extra forse nel tuo registro Quindi spero che ti sia stato utile come membro usando

le applicazioni scriptcase e di Naturalmente queste macro e naturalmente ci saranno

altri video macro arriveranno qui su Scripcase di Jamie Members o su questo canale video dove potrai poi

vai avanti e spero di imparare qualcosa in più sulle macro che puoi usare in Scriptcase

E se c'è qualche esempio che vuoi vedere con queste macro, allora commenta qui sotto o commenta

nel video e sarò felice di creare un video per voi ragazzi

per mostrarti Questo è tutto per il sito SC Macro SSL Ora questo è ricorda il tuo buttafuori

alla porta d'ingresso urlando ai tuoi utenti finali no HTTPS no blooming entry No, non puoi entrare qui

No, ti reindirizzerò a un ambiente più sicuro dove potrai effettuare le tue transazioni importanti. Qualunque cosa accada

Ovviamente dovrai affrontare l'ira di quei browser non affidabili in cui le persone potrebbero voler rubare tutti i tuoi dati

dati perché questa è ovviamente l'alternativa giusta. Quindi se hai trovato utile questo video, sai

cosa fare e ovviamente non dimenticare che ogni venerdì qui è il giorno macro in cui ti mostro

come utilizzare le macro all'interno di scriptcase nel miglior modo possibile in modo da poter sfruttare tutti i vantaggi

quella bontà E naturalmente il modo migliore per farlo è diventare un membro di Scriptcase

Jamie Quindi non dimenticare di farmi sapere nei commenti qui sotto come stai utilizzando il sito SC SSL

Macro sicura per proteggere le tue applicazioni scriptcase E ci vediamo la prossima settimana venerdì per un altro

giornata macro proprio qui su Scriptcase di Jamie



CAPTION TRANSLATED TO PORTUGUESE LANGUAGE


Olá a todos e bem-vindos de volta ao Macro Day aqui no Scriptcase por Jamie E hoje

vamos abordar um tópico super importante no desenvolvimento web e que é claro

segurança e nossa macro de escolha 4 Esta nossa pequena missão é o site SC

SSL e isso é SC_site_SSL E você pode pensar nessa pequena macro como o bouncer integrado do seu aplicativo

Sim, o cara sentado na porta do seu bar local, verificando todos quando eles estão entrando e

certificando-se de que a entrada do bar é bonita e segura Bem, se esse é sempre o caso, tudo bem, então

Então, qual é o principal gig do site SC SSL? Bem, você vê aqui na sua tela, aqui eu tenho

aqui então a macro de hoje e nós a temos aqui como SES E nós a temos aqui

como o SC_site_SSL e seu principal objetivo é detectar se o seu site é

sendo acessado via HTTPS Esse é o HTTPS para a versão criptografada segura do HTTP Basicamente você tem seu

Site HDTP que você simplesmente coloca em algum lugar como você diz, apenas coloca em algum lugar e

então ele é identificado com um certificado SSL ou protegido com um certificado SSL que

identifica então o servidor e a plataforma que você está visualizando, basicamente, essa comunicação entre o final

navegador do usuário e o servidor é seguro, eles dizem OK, então esta macro ajuda você para esses fins por causa de

Claro que é exatamente isso que ele faz, ele coloca você em um espaço seguro que você geralmente deseja

Portanto, esta macro é basicamente sua primeira linha de defesa, ajudando você a impor uma comunicação segura ou até mesmo redirecionar

seus usuários para uma versão segura do seu site e você sabe como garantir que eles não entrem furtivamente

qualquer porta de beco que você tenha escondido em algum lugar onde eles possam talvez

acessar seus dados Então é muito bom usar quando Oh, há tantos propósitos OK, então em vez disso

de realmente mostrar isso aqui dentro do aplicativo em branco porque é um daqueles

macros realmente estranhas Como é assim, irei diretamente para um aplicativo de formulário e um dos

Uma grande vantagem dessa macro é que seu escopo é muito grande, certo? Você pode

use-o em todos os aplicativos do Scripcase. Então, sim, os formulários de grade controlam os aplicativos normalmente em branco, bem, eu poderia

provavelmente usaremos isso no espaço em branco também, mas voltaremos lá em breve

alguns momentos Por enquanto vamos nos concentrar apenas no formulário e depois vamos verificar

aqui OK, então estamos aqui Podemos aplicá-lo também a quase qualquer evento que

queremos que tenhamos o aplicativo nele no script nele

na atualização na validação na inserção no antes blá blá blá Então podemos usá-lo

na maioria dos eventos que temos em aplicações quando queremos verificar algo

quando carregamos o aplicativo, geralmente quando você quiser usá-lo, você pode usar isto

macro Então se eu vier aqui para o script no evento e me deixar

execute primeiro este aplicativo de formulário e podemos ver o formulário padrão como ele geralmente é

Então, como essa macro é bastante versátil, podemos usá-la para todos os tipos de razões, o que é

muito legal, então deixe-me começar aqui, primeiro adicionando aqui meu

se evento e então aqui eu posso então adicionar a macro SC site_SSL e então dentro disso

Posso basicamente verificar se este site é seguro. Então, se eu for ecoar, então eu irei

diga aqui OK Seguro OK deixe-me adicionar uma letra minúscula aqui agora Podemos

então também vá else se quisermos e podemos então ecoar Não seguro

E se eu for em frente e executar isso, temos aqui nosso formulário de inscrição e como

Estou executando isso localmente em HTTP, pois sei que está indicando como

não é seguro. Agora, se eu tiver isso online ou em algum lugar onde eu tenha um SSL

certificado aplicado ao domínio, então posso usar a certificação HTTP para a comunicação do navegador

E bem com isso isso mudará para OK seguro. Então em muitos casos você

pode usar isso para muitos propósitos diferentes. Então, é claro, detectar se o SSL está disponível e confirmado

se tudo estiver ótimo você pode dizer ou apenas em boas condições para que

você pode continuar com sua comunicação. Agora não é seguro, então talvez você queira redirecionar o usuário para um

versão mais segura ou uma página alternativa ou o que quer que seja. Então, há uma boa quantidade

poucos casos de uso não apenas no redirecionamento de usuários Bloqueio de formulários confidenciais, a menos que sejam talvez

acessado com segurança, garantindo que suas informações de pagamento estejam protegidas dentro do aplicativo que está sendo usado no momento

ou qualquer dado dessa empresa é protegido, bem como para fins de auditoria e assim por diante, é você

saiba uma coisa boa para aplicar em seu código. Portanto, há alguns motivos e

Claro, muitos exemplos de que você pode realmente querer usar esta macro específica, mas receio

isso é tudo para a macro de hoje, então estarei criando um vídeo especial apenas para membros

e isso estará no site Scripcase by Jamie Site de vídeo devo dizer

e lá você pode conferir os vídeos dos membros, então não deixe de conferir

porque você terá algum conteúdo extra para esta macro específica e, claro, outras macros disponíveis

vindo ou mesmo os mais antigos, vamos passar por eles e colocar alguns extras interessantes lá para

somente para membros, para que você tenha alguns ótimos exemplos de como usar essas macros incríveis dentro

seus aplicativos scriptcase porque estou sempre dizendo o quão incrível o cripcase é e ele realmente é muito bonito

incrível Então deixe-me mostrar aqui primeiro o aplicativo em branco porque realmente agora

isso está me dando uma mensagem de erro porque sim, é apenas uma dessas coisas, então eu vou

aqui e criar um novo aplicativo em branco. E o que vou fazer então é copiar o que temos aqui.

e então aplicar isso aqui dentro deste aplicativo em branco porque, como mencionei anteriormente e como acontece em muitos

dos casos em que mostro esses vídeos alguns deles podem indicar que se trata de um

bug ou um problema e realmente não é, é porque essa macro precisa ser usada

de uma forma muito específica. Então, como eu sei, como eu digo, de uma forma muito específica.

maneira porque não é apenas uma macro, basicamente funciona como uma função, eu apenas chamo isso

função de barra macro e então me permitirá usá-la. Agora tem que

ser então usado com talvez uma instrução FL ou uma instrução if. Não preciso do LI

pode simplesmente ter isso assim e é isso E então a partir daí não há mais nada E claro

se eu quisesse agora eu poderia redirecionar esse usuário para outro local, então o mais básico

a maneira seria então seu HTTPS meu nome de domínio E pronto você tem então

a versão segura carregada da sua página Agora, como eu disse, somente para membros haverá

serão adicionados mais exemplos em uma versão estendida deste vídeo. Certifique-se de verificar a associação se

você não é um membro do nosso caso de script de Jamie e com isso, é claro, você

pode ter algum conteúdo extra E, claro, se você ainda estiver assistindo a este vídeo, isso significa que você

estão assistindo isso no site Scriptcase by Jamie Video Obrigado por isso

E claro, obrigado por ser um membro. Agora espero que este vídeo ajude você ainda mais com algumas dicas extras.

exemplos ou demonstrações dessas macros e que você pode usar em seus aplicativos porque, é claro, cada

pequenas ajudas eu acho que certo OK então para continuar com a macro SSL do site SC então

você acabou de ver essa função de uma forma que podemos basicamente redirecionar o uso

se quiséssemos ou apenas ecoar alguma saída, então deixe-me ir em frente e comentar isso

Então, outro exemplo seria se você tivesse uma variável global, como um botão de pagamento

Lá vai o botão de pagamento assim e então podemos dizer bem, talvez queiramos exibir

este vídeo ou não, então aqui, por exemplo, posso dizer bloco e aqui abaixo

que eu poderia então dizer SC Field Underscore display e então eu poderia esconder

esse bloco que na verdade temos para que então estivesse aqui por exemplo o

Campo sensível e então você seleciona isso e não se esqueça de indicar se

esse campo está ativado ou desativado e você pode exibir aqui seu botão de pagamento se o

o site é seguro e você também exibirá os campos sensíveis se o seu site for seguro.

então para o E poderíamos então talvez dizer o mesmo novamente, mas então de

curso inverta isso ao redor Então aqui diríamos nenhum E diríamos desligado então é isso então

também desligado e então, além disso, poderíamos talvez adicionar aqui o eco e, hum, você sabe, dizer

Para eles, por favor, use algo seguro ou redirecione-os como fizemos aqui, mesmo usando talvez

um timer e dessa forma você terá dentro de um formulário por exemplo Ou até mesmo dentro de uma aplicação de grade você

saiba que você pode ocultar os botões da barra de ação e os botões que você insere nos campos também. Você pode

faça tudo isso sozinho e então com isso você poderá prosseguir e esconder o

conteúdo e redirecionar e proteger seus dados conforme necessário OK, então como outro exemplo de

isso pode ser realmente interessante porque você sabe porque podemos usar esta instrução if

em vez de usar todo o if else, podemos realmente prosseguir e dizer if

uh e um ponto de exclamação aqui SC_SSL Então, basicamente, ouvi dizer que estaria dizendo se

não imediatamente e então aqui talvez eu queira registrar minha mensagem e isso talvez seja

Deixe-me fechar isso primeiro em acesso seguro e talvez possamos adicionar uma data a isso. Uh, vamos lá.

data adicionada e aqui vamos fechar isso e então aqui precisamos adicionar aqui Nossas datas

aqui também e aqui podemos adicionar talvez um valor de data aqui, seja lá o que for

Então, vou usar o YMD e vamos adicionar também as horas, os segundos e os minutos.

também e então com isso podemos querer adicionar também o endereço IP ou qualquer outra coisa

você pode querer adicionar Então aqui podemos talvez registrar dados por exemplo e então com isso podemos

então você sabe que depois de fazermos esse log, adicione isso ao nosso banco de dados, então X exec e SQL e

que nos permitirá usar basicamente a macro de inserção do banco de dados e então aqui

podemos simplesmente adicionar aqui nossa instrução de inserção em um log de segurança ou seu

log tabela log diz diz tabela e assim você pode então pegar seus valores Então deixe-me

terminar este log in log Deixe-me sair aqui valores e isso seria então

esteja aqui nossa mensagem de log E eu quero adicionar isso aqui Em uma tabela Entrada longa Entrada de log direita

e então aqui teríamos nossa mensagem de log que são aqui nossos valores. Assim, OK, então apenas

assim podemos então registrar esses valores em nosso banco de dados ou usar qualquer outro método também

e então podemos redirecionar o usuário talvez para algum lugar alternativo, um login diferente ou qualquer outra coisa que você saiba

na verdade, quero redirecionar esse usuário para Então, neste caso, é mais sobre registro

e talvez redirecionando, então se você tiver uma câmera de segurança, você sabe, gravando todos os dados que

é basicamente seu sistema de registro de alguma forma. Se você usá-lo assim, toda vez que algo

suspeito acontece eu neste caso você sabe que foi acessado de forma insegura então talvez você

não quero apenas redirecionar isso, mas talvez você queira registrar isso em seu

tabela de registro em sua tabela de registro de segurança também Agora é importante observar que existem algumas limitações

com isso e que realmente funciona de forma confiável principalmente em servidores ISIS. Agora eu não tenho

encontrei problemas com isso no Apache, mas você sabe que estou executando o Apacheche agora

parece estar funcionando perfeitamente bem Hum, então você sabe que em alguns casos é sempre bom

tenha um direito de backup para que você possa usar a funcionalidade do servidor HDPS e isso aí como uh

uma camada extra talvez em seu log. Espero que tenha ajudado você como membro usando

as aplicações scriptcase e claro essas macros e claro que haverá

mais vídeos de macro chegando aqui no Scripcase por Jamie Members ou neste canal de vídeo onde você pode então

vá em frente e espero que aprenda mais sobre as macros que você pode usar no Scriptcase

E se houver algum exemplo que você queira ver com essas macros, comente abaixo ou comente

no vídeo e ficarei feliz em criar um vídeo para vocês

para mostrar a você que isso é tudo para o site SC SSL Macro Agora, lembre-se do seu segurança

na porta da frente gritando para seus usuários finais, sem HTTPS, sem entrada. Não, você não pode entrar aqui.

Não, vou redirecioná-lo para um ambiente mais seguro, onde você pode realizar suas transações importantes. Seja o que for.

Claro que você enfrentará a ira daqueles navegadores não confiáveis, onde as pessoas podem querer roubar todos os seus dados

dados porque essa é, claro, a alternativa certa. Então, se você achou este vídeo útil, você sabe

o que fazer e claro não esqueça que toda sexta aqui é dia de macro onde eu mostro para vocês

como usar as macros dentro do scriptcase da melhor maneira possível para que você possa aproveitar todas as vantagens

essa bondade E claro que a melhor maneira de fazer isso é ser um membro do Scriptcase por

Jamie, então não se esqueça de me contar nos comentários abaixo como você está usando o SSL do site SC

Macro segura para proteger seus aplicativos de scriptcase E nos vemos na próxima sexta-feira para outra

dia de macro aqui mesmo no Scriptcase por Jamie



CAPTION TRANSLATED TO GERMAN LANGUAGE


Hallo zusammen und willkommen zurück zum Macro Day hier auf Scriptcase von Jamie Und heute

Wir werden ein super wichtiges Thema in der Webentwicklung angehen und das ist natürlich

Sicherheit und unser Makro der Wahl 4 Diese kleine Mission von uns ist die SC-Site

SSL und das ist SC_site_SSL Und Sie können sich dieses kleine Makro als den eingebauten Bouncer Ihrer Anwendung vorstellen

Ja, der Typ, der an der Tür Ihrer Stammkneipe sitzt und jeden kontrolliert, der reinkommt, und

dafür zu sorgen, dass der Eingang der Bar schön und sicher ist. Nun, wenn das immer der Fall ist, gut, also

Also, was ist die SC-Site SSL Haupt-Gig Nun, Sie sehen es hier auf Ihrem Bildschirm hier habe ich es

hier also das heutige Makro und wir haben es hier als SES Und wir haben es hier

als SC_site_SSL und sein Hauptzweck besteht darin, festzustellen, ob Ihre Website

über HTTPS zugegriffen wird Das ist die HTTPS für sichere verschlüsselte Version von uh HTTP Grundsätzlich haben Sie Ihre

HDTP-Website, die Sie einfach irgendwo hinstellen, wie Sie es sagen, einfach irgendwo hinstellen und

dann wird es mit einem SSL-Zertifikat identifiziert oder mit einem SSL-Zertifikat gesichert, das

identifiziert dann den Server und die Plattform, die Sie im Grunde betrachten, dass im Grunde die Kommunikation zwischen dem Ende

Browser des Benutzers und der Server ist sicher, sie sagen OK, so dass dieses Makro hilft Ihnen Für diese Zwecke wegen

Natürlich ist das genau das, was es tut, es bringt Sie in einen sicheren Raum, den Sie im Allgemeinen wollen

Dieses Makro ist im Grunde Ihre erste Verteidigungslinie und hilft Ihnen, sichere Kommunikation zu erzwingen oder sogar umzuleiten

Ihre Benutzer auf eine sichere Version Ihrer Website Und Sie wissen, dass Sie sicherstellen, dass sie nicht schleichen durch

jede Hintergassentür, die Sie irgendwo versteckt haben, dass sie vielleicht

Zugriff auf Ihre Daten So ist es wirklich gut zu verwenden, wenn Oh, es gibt so viele Zwecke OK also statt

es Ihnen hier in der leeren Anwendung zu zeigen, weil es eines dieser

wirklich seltsame Makros Wie es ist, werde ich direkt zu einer Formularanwendung kommen und einer der

Das Tolle an diesem Makro ist, dass sein Umfang ziemlich groß ist. Sie können

verwenden Sie es über alle Scripcase Anwendungen Also ja Raster Formulare Steuerung Anwendungen in der Regel die leere gut ich könnte

wahrscheinlich auch in der leeren Datei verwenden, aber wir werden später noch einmal darauf zurückkommen.

ein paar Momente. Jetzt konzentrieren wir uns nur auf das Formular und dann schauen wir es uns an

hier OK, also sind wir hier Wir können es auch auf fast jedes Ereignis anwenden, das

wir wollen, also haben wir die Anwendung darin, das Skript darin

beim Aktualisieren beim Validieren beim Einfügen beim Vorher bla bla So können wir es verwenden

innerhalb der Mehrzahl der Ereignisse, die wir in Anwendungen haben, wenn wir entweder etwas überprüfen wollen

Wenn wir die Anwendung laden, können Sie dies verwenden, wenn Sie sie verwenden möchten.

Makro Wenn ich also hier zum Skript im IT-Ereignis komme und mich

Führen Sie zunächst diese Formularanwendung aus und wir können das Standardformular sehen, wie es im Allgemeinen

ist Also mit diesem Makro ist ziemlich vielseitig können wir es für alle möglichen Zwecke verwenden, die dann

ziemlich genial Also lasst mich hier beginnen, indem ich hier zunächst einmal meine

wenn Ereignis und dann kann ich hier das SC site_SSL-Makro hinzufügen und dann innerhalb dieses

Ich kann grundsätzlich überprüfen, ob diese Website sicher ist. Wenn ich also Echo gehe und dann

sagen Sie hier OK Sichern OK lassen Sie mich hier jetzt einen Kleinbuchstaben hinzufügen Wir können

dann gehen Sie auch sonst, wenn wir wollten, und wir können dann echo Nicht sicher

Und wenn ich das ausführe, haben wir hier unsere Formularanwendung und als

Ich führe dies lokal in HTTP aus, da ich weiß, dass es dann anzeigt,

nicht sicher. Wenn ich dies jetzt online oder irgendwo habe, wo ich ein SSL habe

Zertifikat auf die Domäne angewendet, dann kann ich die HTTP-Zertifizierung für die Browserkommunikation verwenden

Und damit ändert sich dies dann zu OK, sicher. In vielen Fällen

kann dies für so viele verschiedene Zwecke verwenden. So wird natürlich erkannt, ob SSL verfügbar und bestätigt ist

wenn alles in Ordnung ist, könnte man sagen, oder einfach nur in einem guten Zustand, so dass

Sie können mit Ihrer Kommunikation fortfahren. Jetzt ist es unsicher, dann möchten Sie den Benutzer vielleicht auf eine

sicherere Version oder eine alternative Seite oder was auch immer es sein mag. Es gibt also eine ganze Reihe

wenige Anwendungsfälle nicht nur in der Umleitung von Benutzern Blockieren sensibler Formulare, es sei denn, sie sind vielleicht

Sicherer Zugriff, um sicherzustellen, dass Ihre Zahlungsinformationen innerhalb der aktuell verwendeten Anwendung geschützt sind

oder irgendwelche dieser Unternehmensdaten gesichert sind, sowie für Auditzwecke und so weiter, es ist Sie

wissen, was Sie in Ihrem Code anwenden können. Es gibt also eine ganze Reihe von Gründen und

natürlich Viele Beispiele, die Sie tatsächlich dieses spezielle Makro verwenden möchten Aber ich fürchte

das ist alles für das heutige Makro, also werde ich ein spezielles Video nur für Mitglieder erstellen

und das wird auf der Scripcase by Jamie-Website zu sehen sein, sollte ich sagen, die Video-Website

und dort können Sie sich die Mitgliedervideos ansehen, also schauen Sie sie sich unbedingt an

weil Sie zusätzliche Inhalte für dieses spezielle Makro und natürlich auch für andere Makros haben und

kommen oder auch die älteren, wir werden durch diese gehen und wir werden einige zusätzliche interessante dort werfen für

Nur für Mitglieder, damit Sie einige tolle Beispiele haben, wie Sie diese fantastischen Makros verwenden können innerhalb

Ihre Scriptcase-Anwendungen, weil ich immer sage, wie toll Cripcase ist und es ist wirklich hübsch

Also lasst mich euch hier zuerst die leere Bewerbung zeigen, denn gerade jetzt

Dies gibt mir eine Fehlermeldung, weil ja, es ist nur eines dieser Dinge Also werde ich kommen

hier und erstelle eine neue leere Anwendung. Und was ich dann tun werde, ist, zu kopieren, was wir hier haben

und wenden Sie das dann hier in dieser leeren Anwendung an, denn wie ich bereits erwähnt habe und wie es in vielen

der Fälle, wenn ich diese Videos zeige, einige davon können es kann darauf hinweisen, dass dies ein

Fehler oder ein Problem, und wirklich ist es nicht, es ist, weil dieses Makro es muss verwendet werden

auf eine ganz bestimmte Art und Weise. Wie ich also, wissen Sie, wie ich sage, auf eine ganz bestimmte Art und Weise

weil es nicht nur ein Makro ist, sondern im Grunde schon als Funktion funktioniert, nenne ich das einfach

Makro-Schrägstrich-Funktion und dann wird es mir erlauben, es zu verwenden Jetzt muss es

dann mit vielleicht einer FL-Anweisung oder einer if-Anweisung verwendet werden, brauche ich nicht die LI

kann das einfach so haben und das ist es Und dann von dort gibt es nichts Und natürlich

Wenn ich jetzt wollte, könnte ich diesen Benutzer an einen anderen Ort umleiten, also die grundlegendste

Weg wäre dann, Ihr HTTPS meinen Domänennamen Und los geht's Sie haben dann

die sichere Version Ihrer Seite geladen Jetzt, wie ich sagte, nur für Mitglieder wird es

Weitere Beispiele werden in einer erweiterten Version dieses Videos hinzugefügt. Schauen Sie sich unbedingt die Mitgliedschaft an, wenn

Sie sind kein Mitglied über unseren Drehbuch-Fall von Jamie und damit natürlich Sie

kann einige zusätzliche Inhalte haben Und natürlich, wenn Sie dieses Video immer noch ansehen, dann bedeutet das, dass Sie

sehen Sie sich das auf der Scriptcase von Jamie Video-Site an. Vielen Dank dafür

Und natürlich danke für die Mitgliedschaft Jetzt hoffe ich, dass dieses Video Ihnen weiter hilft mit einigen zusätzlichen

Beispiele oder Demos dieser Makros und dass Sie dann in Ihren Anwendungen verwenden können, weil natürlich jeder

Ich denke, es hilft ein wenig, also weiter mit dem SSL-Makro der SC-Site.

Sie haben diese Funktion gerade so gesehen, dass wir die Nutzung grundsätzlich umleiten können

wenn wir wollten, oder einfach eine Ausgabe wiederholen. Lassen Sie mich also einfach fortfahren und diese auskommentieren

Ein anderes Beispiel wäre vielleicht, wenn Sie eine globale Variable haben, beispielsweise eine Zahlungsschaltfläche

Hier geht es zum Bezahl-Button, und dann können wir sagen, vielleicht möchten wir anzeigen

dieses Video oder nicht so hier äh zum Beispiel kann ich sagen, Block und dann hier unten

dass ich dann sagen könnte SC Field Underscore Anzeige und dann kann ich verstecken

diesen Block, den wir eigentlich haben, also das wäre dann hier zum Beispiel der

sensibles Feld und das würden Sie dann wählen Sie das und vergessen Sie nicht anzugeben, ob

Dieses Feld ist ein- oder ausgeschaltet und Sie würden dann hier möglicherweise Ihren Zahlungsbutton anzeigen, wenn der

Die Site ist sicher und Sie würden dann auch die sensiblen Felder anzeigen, wenn Ihre Site sicher ist.

dann könnten wir für das E vielleicht dasselbe noch einmal sagen, aber dann von

natürlich umkehren, also hier würden wir keine sagen, und wir würden aus sagen, also ist das dann

auch aus und dann oben drauf könnten wir vielleicht hier das Echo hinzufügen und ähm, wissen Sie, sagen

Bitte verwenden Sie etwas Sicheres oder leiten Sie sie um, wie wir es hier getan haben, sogar mithilfe von vielleicht

einen Timer und auf diese Weise haben Sie innerhalb eines Formulars zum Beispiel Oder sogar innerhalb einer Rasteranwendung Sie

Sie wissen, dass Sie diese Aktionsleistenschaltflächen und die Schaltflächen, die Sie in die Felder einfügen, ausblenden können.

tun Sie das alles selbst und dann sollten Sie in der Lage sein, weiterzumachen und zu verstecken die

Inhalte und leiten Sie Ihre Daten um und sichern Sie sie nach Bedarf. OK, also als weiteres Beispiel für

das könnte tatsächlich interessant sein, weil wir diese if-Anweisung verwenden können.

anstatt das ganze if else zu verwenden, können wir tatsächlich weitermachen und sagen, if

äh und ein Ausrufezeichen hier SC_SSL Also im Grunde höre ich, ich würde sagen, wenn

nicht sofort und dann möchte ich hier vielleicht meine Nachricht protokollieren und das wäre vielleicht

Lassen Sie mich das zuerst im sicheren Zugriff schließen und wir können vielleicht ein Datum hinzufügen. Äh, los geht's

Datum hinzugefügt und hier schließen wir das dann und dann hier müssen wir hier hinzufügen Unsere Daten

auch hier und hier können wir dann vielleicht einen Datumswert hinzufügen, was auch immer das sein mag

Also nehme ich einfach das YMD und füge dann auch die Stunden, Sekunden und Minuten hinzu

und dann möchten wir vielleicht auch die IP-Adresse oder etwas anderes hinzufügen

Sie möchten vielleicht hinzufügen: So, hier können wir vielleicht Daten protokollieren und dann können wir damit

dann wissen Sie, sobald wir dieses Protokoll erstellt haben, fügen Sie es dann zu unserer Datenbank hinzu, also X exec und SQL und

das wird uns dann erlauben, die Datenbank einfügen Makro im Grunde zu verwenden Und dann hier

wir können hier einfach unsere Insert-Anweisung und ein Sicherheitsprotokoll oder Ihr

Log-Tabelle, Log, sagen wir, Tabelle, und so können Sie dann Ihre Werte nehmen. Lassen Sie mich

beenden Sie dies aus Log in Log Lassen Sie mich hier gehen Werte und das würde dann

hier ist unsere Log-Nachricht Und ich möchte das hier hinzufügen In einer Tabelle Langer Eintrag Rechts Log-Eintrag

und dann hätten wir hier unsere Protokollnachricht, die hier unsere Werte sind. So, ok, also einfach

Auf diese Weise können wir diese Werte dann in unsere Datenbank eintragen oder auch jede andere Methode verwenden.

und dann können wir den Benutzer vielleicht zu einer Alternative weiterleiten, zu einem anderen Login oder was auch immer Sie sonst wissen

eigentlich wollen, dass der Benutzer umleiten zu So in diesem Fall ist es mehr über die Anmeldung

und vielleicht umleiten, also wenn Sie vielleicht eine Überwachungskamera haben, wissen Sie, ähm, die alle einzelnen Daten aufzeichnet,

ist im Grunde Ihr Protokollierungssystem in irgendeiner Form. Wenn Sie es so verwenden, dann jedes Mal, wenn etwas

verdächtige passiert ich in diesem Fall wissen Sie, dass Sie unsicher zugegriffen haben, dann vielleicht Sie

nicht nur umleiten, sondern vielleicht möchten Sie das in Ihrem

Protokollierungstabelle auch in Ihre Sicherheitsprotokolltabelle Jetzt ist es wichtig zu beachten, dass es einige Einschränkungen gibt

mit diesem und dass es wirklich zuverlässig auf ISIS-Servern funktioniert vor allem Jetzt habe ich nicht

habe Probleme damit auf Apache gefunden, aber du weißt, ich führe gerade Apacheche aus

es scheint perfekt zu laufen Um so wissen Sie, in manchen Fällen ist es immer gut zu

haben ein Backup Recht, so dass es Sie die Server HDPS-Funktionalität verwenden könnten und und dass dort als uh

eine zusätzliche Ebene vielleicht in Ihrem Protokoll So hoffe ich, dass das Ihnen als Mitglied geholfen hat, mit

die Scriptcase-Anwendungen und natürlich diese Makros und natürlich wird es

Weitere Makrovideos gibt es hier bei Scripcase von Jamie Members oder auf diesem Videokanal, wo Sie dann

Machen Sie weiter und erfahren Sie hoffentlich mehr über die Makros, die Sie in Scriptcase verwenden können

Und wenn Sie ein Beispiel mit diesen Makros sehen möchten, hinterlassen Sie unten einen Kommentar oder einen Kommentar

im Video und ich werde gerne ein Video für euch erstellen

um Ihnen zu zeigen Das ist alles für die SC-Site SSL Macro Jetzt ist dies erinnern Sie sich an Ihren Türsteher

an der Haustür schreien zu Ihren Endbenutzern kein HTTPS kein blühender Eintrag Nein, Sie können hier nicht rein

Nein, ich werde Sie in eine sicherere Umgebung umleiten, wo Sie Ihre wichtige Transaktion durchführen können. Was auch immer das sein mag

Natürlich müssen Sie sich dem Zorn dieser nicht vertrauenswürdigen Browser stellen, wo die Leute möglicherweise alle Ihre Daten stehlen wollen

Daten, denn das ist natürlich die Alternative, richtig. Wenn Sie dieses Video also hilfreich fanden, wissen Sie

was zu tun ist und natürlich nicht vergessen, dass hier jeden Freitag Makro-Tag ist, an dem ich Ihnen zeige

wie Sie die Makros in scriptcase optimal nutzen können So können Sie alle Vorteile nutzen

diese Güte Und natürlich ist der beste Weg dafür, ein Mitglied von Scriptcase zu sein, indem

Jamie Also vergiss nicht, mir in den Kommentaren unten mitzuteilen, wie du die SC-Site SSL verwendest

sicheres Makro, um Ihre Scriptcase-Anwendungen zu sichern Und wir sehen uns nächste Woche Freitag für eine weitere

Makrotag hier auf Scriptcase von Jamie